• Pierre Langlois's avatar
    Reland "[snapshot] Add support for native counters." · a7fa1ae2
    Pierre Langlois authored
    This is a reland of 93716b9e
    
    Original change's description:
    > [snapshot] Add support for native counters.
    > 
    > Counters in generated code, as enabled with --native-code-counters, do not work
    > in the snapshot. This adds a `v8_enable_snapshot_code_counters` build option
    > enabled by defaut in debug mode that allows code from the snapshot to increment
    > the current isolate's set of counters.
    > 
    > For this to work, we need to add native code counters in the external reference
    > table.
    > 
    > To keep the no snapshot configuration similar, we've also enabled the
    > --native-code-counters flag by default for debug builds.
    > 
    > Change-Id: I4478b79858c9b04f57e06e7ec67449e9e3a76f53
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1528998
    > Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
    > Reviewed-by: Peter Marshall <petermarshall@chromium.org>
    > Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#60495}
    
    Change-Id: Ib6427caf068ca196a032e3f3b97d9f9219e0fe60
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1543349Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
    Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
    Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
    Cr-Commit-Position: refs/heads/master@{#60507}
    a7fa1ae2
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...