[TurboFan] Remove serialized function limit
This limit hangs TypeScript and needs further investigation. Bug: chromium:1038292 Change-Id: I5270052cb2b357f9f872d6de42a8122cee81b13e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1981499 Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Michael Stanton <mvstanton@chromium.org> Cr-Commit-Position: refs/heads/master@{#65568}
This commit is contained in:
parent
5e4532ac9a
commit
e78ebe447b
@ -2525,11 +2525,6 @@ bool JSHeapBroker::ShouldBeSerializedForCompilation(
|
||||
void JSHeapBroker::SetSerializedForCompilation(
|
||||
const SharedFunctionInfoRef& shared, const FeedbackVectorRef& feedback,
|
||||
const HintsVector& arguments) {
|
||||
if (serialized_functions_.size() >= kMaxSerializedFunctionsCacheSize) {
|
||||
TRACE_BROKER_MISSING(this,
|
||||
"opportunity - serialized functions cache is full.");
|
||||
return;
|
||||
}
|
||||
SerializedFunction function{shared, feedback};
|
||||
serialized_functions_.insert({function, arguments});
|
||||
TRACE(this, "Set function " << shared << " with " << feedback
|
||||
|
@ -265,7 +265,6 @@ class V8_EXPORT_PRIVATE JSHeapBroker {
|
||||
}
|
||||
};
|
||||
ZoneMultimap<SerializedFunction, HintsVector> serialized_functions_;
|
||||
static const size_t kMaxSerializedFunctionsCacheSize = 200;
|
||||
|
||||
static const size_t kMinimalRefsBucketCount = 8; // must be power of 2
|
||||
static const size_t kInitialRefsBucketCount = 1024; // must be power of 2
|
||||
|
Loading…
Reference in New Issue
Block a user