• Leszek Swirski's avatar
    [offthread] Add off thread deserialization · 595609fb
    Leszek Swirski authored
    Add a new OffThreadObjectDeserializer, which can deserialize a snapshot
    into an OffThreadIsolate.
    
    This involves templating the Deserializer base class on Isolate, and
    amending OffThreadHeap to be able to create Reservations same as the
    main-thread Heap can. Various off-thread incompatible methods are
    stubbed out as UNREACHABLE in OffThreadIsolate overloads.
    
    There is currently no API entry into the off-thread deserialization, but
    under --stress-background-compile it now runs the CodeDeserializer (i.e.
    code cache deserialization) in a background thread.
    
    Bug: chromium:1075999
    
    Change-Id: I2453f51ae31df4d4b6aa94b0804a9d6d3a03781e
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2172741
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#67799}
    595609fb
Name
Last commit
Last update
..
OWNERS Loading commit data...
address-map.cc Loading commit data...
address-map.h Loading commit data...
allocation.cc Loading commit data...
allocation.h Loading commit data...
bit-vector.cc Loading commit data...
bit-vector.h Loading commit data...
boxed-float.h Loading commit data...
detachable-vector.cc Loading commit data...
detachable-vector.h Loading commit data...
identity-map.cc Loading commit data...
identity-map.h Loading commit data...
locked-queue-inl.h Loading commit data...
locked-queue.h Loading commit data...
memcopy.cc Loading commit data...
memcopy.h Loading commit data...
ostreams.cc Loading commit data...
ostreams.h Loading commit data...
pointer-with-payload.h Loading commit data...
utils-inl.h Loading commit data...
utils.cc Loading commit data...
utils.h Loading commit data...
v8dll-main.cc Loading commit data...
vector.h Loading commit data...
version.cc Loading commit data...
version.h Loading commit data...