• Mythri A's avatar
    Set bytecode budget to interrupt_budget when allocating feedback vector · 443721bd
    Mythri A authored
    We use the same interrupt to both allocate feedback vectors and
    for updating the profiler ticks. If there is a feedback vector already
    available, we just increment the profiler ticks that we use to mark
    for optimizing function. Calling JSFunction::EnsureFeedbackVector
    allocates a feedback vector, but doesn't reset the budget, so we
    optimize much earlier than expected. This is currently only a problem
    with %PrepareFunctionForOptimize that doesn't reset the budget. Other
    code paths do also reset the interrupt budget.
    
    Bug: chromium:10243
    Change-Id: I611a9202e5e71077bf897def5959bcfe11b8fdf4
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2064980
    Commit-Queue: Mythri Alle <mythria@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#66426}
    443721bd
Name
Last commit
Last update
..
embedded Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
code-serializer.cc Loading commit data...
code-serializer.h Loading commit data...
deserializer-allocator.cc Loading commit data...
deserializer-allocator.h Loading commit data...
deserializer.cc Loading commit data...
deserializer.h Loading commit data...
mksnapshot.cc Loading commit data...
object-deserializer.cc Loading commit data...
object-deserializer.h Loading commit data...
partial-deserializer.cc Loading commit data...
partial-deserializer.h Loading commit data...
partial-serializer.cc Loading commit data...
partial-serializer.h Loading commit data...
read-only-deserializer.cc Loading commit data...
read-only-deserializer.h Loading commit data...
read-only-serializer.cc Loading commit data...
read-only-serializer.h Loading commit data...
references.h Loading commit data...
roots-serializer.cc Loading commit data...
roots-serializer.h Loading commit data...
serializer-allocator.cc Loading commit data...
serializer-allocator.h Loading commit data...
serializer-common.cc Loading commit data...
serializer-common.h Loading commit data...
serializer.cc Loading commit data...
serializer.h Loading commit data...
snapshot-common.cc Loading commit data...
snapshot-compression.cc Loading commit data...
snapshot-compression.h Loading commit data...
snapshot-empty.cc Loading commit data...
snapshot-external.cc Loading commit data...
snapshot-source-sink.cc Loading commit data...
snapshot-source-sink.h Loading commit data...
snapshot.h Loading commit data...
startup-deserializer.cc Loading commit data...
startup-deserializer.h Loading commit data...
startup-serializer.cc Loading commit data...
startup-serializer.h Loading commit data...