• Nico Hartmann's avatar
    Revert "[TurboFan] Move SFI and BytecodeArray to kNeverSerialized" · ff606a06
    Nico Hartmann authored
    This reverts commit 8ffbf0d2.
    
    Reason for revert: https://bugs.chromium.org/p/chromium/issues/detail?id=1158322
    
    Original change's description:
    > [TurboFan] Move SFI and BytecodeArray to kNeverSerialized
    >
    > This CL moves SharedFunctionInfo and BytecodeArray to the
    > kNeverSerialized classes, making them directly accessible from the
    > background thread.
    >
    > To resolve the dependence on HeapNumber and BigInt objects stored in
    > the BytecodeArray's constant pool, this CL introduces a new
    > ObjectDataKind::kPossiblyBackgroundSerializedHeapObject, which allows
    > for objects to be serialized lazily from the background thread where
    > we know that this is safe (e.g. because they are constant). BigInt and
    > HeapNumber are the first members of this new group of objects.
    >
    > Bug: v8:7790
    > Change-Id: I1d962d1cb7c36cc3f5baeb9603d5298f32af3363
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2567705
    > Reviewed-by: Georg Neis (ooo until January 5) <neis@chromium.org>
    > Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#71716}
    
    TBR=neis@chromium.org,nicohartmann@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: v8:7790
    Change-Id: Ice35d7c1c4d7e96be887a0aa26fbfa69db627022
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2589734Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
    Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71738}
    ff606a06
serializer-for-background-compilation.cc 139 KB