Revert "Enable FLAG_feedback_allocation_on_bytecode_size"
This reverts commit 2a446a9058
.
Reason for revert: This caused regressions on Octane / Jetstream2 /
Sunspider and a couple of regressions on memory usage on mobile:
https://bugs.chromium.org/p/chromium/issues/detail?id=1177124
https://bugs.chromium.org/p/chromium/issues/detail?id=1177241
Original change's description:
> Enable FLAG_feedback_allocation_on_bytecode_size
>
> This flag enables feedback allocation heuristics to be based on the
> function size. The threshold for feedback allocation is set to
> 4 * bytecode size to roughly mimic the allocation after 4 invocations.
>
> Change-Id: Ia840cd526e3718d4267e01c688c6c6467e352d72
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2685175
> Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
> Commit-Queue: Mythri Alle <mythria@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#72631}
TBR=rmcilroy@chromium.org,mythria@chromium.org,verwaest@chromium.org
Change-Id: Ib756116aa38117c06e95c7f68d8f9ba0acd34084
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2689194
Reviewed-by: Mythri Alle <mythria@chromium.org>
Commit-Queue: Mythri Alle <mythria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72651}
This commit is contained in:
parent
4d85620ffa
commit
fa7c50cfcd
@ -505,7 +505,7 @@ DEFINE_INT(budget_for_feedback_vector_allocation, 1 * KB,
|
||||
"decide to allocate feedback vectors")
|
||||
DEFINE_INT(scale_factor_for_feedback_allocation, 4,
|
||||
"scale bytecode size for feedback vector allocation.")
|
||||
DEFINE_BOOL(feedback_allocation_on_bytecode_size, true,
|
||||
DEFINE_BOOL(feedback_allocation_on_bytecode_size, false,
|
||||
"Instead of a fixed budget for lazy feedback vector allocation, "
|
||||
"scale it based in the bytecode size.")
|
||||
DEFINE_BOOL(lazy_feedback_allocation, true, "Allocate feedback vectors lazily")
|
||||
|
Loading…
Reference in New Issue
Block a user