• ssanfilippo's avatar
    [Interpreter] Enable tracing of bytecode handler dispatches. · 1e3257d2
    ssanfilippo authored
    When FLAG_trace_ignition_dispatches is enabled, a dispatch counter is
    kept for each pair of source-destination bytecode handlers.
    
    Each counter saturates at max uintptr_t value.
    
    Counters are dumped as a JSON-encoded object of objects, such that
    each key on the top level object is a source bytecode name, and each key
    on the corresponding value is a destination bytecode name, with the
    associated counter as value. The output file name can be controlled
    with the FLAG_trace_ignition_dispatches_output_file flag.
    
    The JSON file may be written by calling
    Interpreter::WriteDispatchCounters(), which is done for d8 in
    Shell::OnExit, if FLAG_trace_ignition_dispatches is enabled.
    
    BUG=v8:4899
    LOG=N
    
    Review URL: https://codereview.chromium.org/1828633003
    
    Cr-Commit-Position: refs/heads/master@{#35380}
    1e3257d2
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
docs Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party/binutils Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...