• Jakob Gruber's avatar
    [snapshot] Expose the serializer through %SerializeDeserializeNow · ad5b005e
    Jakob Gruber authored
    ... in order to exercise the snapshot/ component from mjsunit tests
    and fuzzers.
    
    * Since the serializer and deserializer can now be called at any time
    instead of only in a tightly controlled environment, several
    assumptions (such as an empty execution stack, no microtasks, no
    handles) no longer hold and had to be made configurable through
    SerializerFlags.
    
    * Root iteration now skips more root categories which were previously
    guaranteed to be empty (e.g. the stack, microtask queue, handles).
    
    * The %SerializeDeserializeNow runtime function triggers
    serialization, deserialization, and heap verification on the current
    isolate and native context.
    
    Support is not yet complete and will be extended in future work. Once
    all mjsunit tests successfully run, we can add a new test mode to
    stress serialization.
    
    Bug: v8:10416
    Change-Id: Ie7ff441a761257dd7f256d0a33e73227850074ac
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2159495
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Reviewed-by: 's avatarDan Elphick <delphick@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#67423}
    ad5b005e
Name
Last commit
Last update
..
api Loading commit data...
asmjs Loading commit data...
ast Loading commit data...
base Loading commit data...
builtins Loading commit data...
codegen Loading commit data...
common Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
d8 Loading commit data...
date Loading commit data...
debug Loading commit data...
deoptimizer Loading commit data...
diagnostics Loading commit data...
execution Loading commit data...
extensions Loading commit data...
flags Loading commit data...
handles Loading commit data...
heap Loading commit data...
ic Loading commit data...
init Loading commit data...
inspector Loading commit data...
interpreter Loading commit data...
json Loading commit data...
libplatform Loading commit data...
libsampler Loading commit data...
logging Loading commit data...
numbers Loading commit data...
objects Loading commit data...
parsing Loading commit data...
profiler Loading commit data...
protobuf Loading commit data...
regexp Loading commit data...
roots Loading commit data...
runtime Loading commit data...
sanitizer Loading commit data...
snapshot Loading commit data...
strings Loading commit data...
tasks Loading commit data...
third_party Loading commit data...
torque Loading commit data...
tracing Loading commit data...
trap-handler Loading commit data...
utils Loading commit data...
wasm Loading commit data...
zone Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...