• 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
..
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...
embedded-data.cc Loading commit data...
embedded-data.h Loading commit data...
embedded-empty.cc Loading commit data...
embedded-file-writer.cc Loading commit data...
embedded-file-writer.h Loading commit data...
mksnapshot.cc Loading commit data...
natives-common.cc Loading commit data...
natives-external.cc Loading commit data...
natives.h 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-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...