• rmcilroy's avatar
    [Interpreter] Enable runtime profiler support for Ignition. · b62bf1e6
    rmcilroy authored
    Adds a profiling counter to each BytecodeArray object, and adds
    code to Jump and Return bytecode handlers to update this
    counter by the size of the jump or the distance from the return
    to the start of the function. This is more accurate than fullcodegen's
    approach since it takes forward jumps into account as well as back-edges.
    
    Modifies RuntimeProfiler to track ticks for interpreted frames.
    Currently we use the SharedFunctionInfo::profiler_ticks() instead
    of adding another to tick field to avoid adding another field to
    BytecodeArray since SharedFunctionInfo::profiler_ticks() is only
    used by Crankshaft otherwise so we shouldn't need both for
    
    BUG=v8:4689
    LOG=N
    
    Review URL: https://codereview.chromium.org/1707693003
    
    Cr-Commit-Position: refs/heads/master@{#34166}
    b62bf1e6
Name
Last commit
Last update
..
base Loading commit data...
compiler Loading commit data...
heap Loading commit data...
interpreter Loading commit data...
libplatform Loading commit data...
runtime Loading commit data...
wasm Loading commit data...
DEPS Loading commit data...
atomic-utils-unittest.cc Loading commit data...
cancelable-tasks-unittest.cc Loading commit data...
char-predicates-unittest.cc Loading commit data...
counters-unittest.cc Loading commit data...
locked-queue-unittest.cc Loading commit data...
run-all-unittests.cc Loading commit data...
test-utils.cc Loading commit data...
test-utils.h Loading commit data...
unittests.gyp Loading commit data...
unittests.isolate Loading commit data...
unittests.status Loading commit data...