• Camillo Bruni's avatar
    Reland "[web snapshot] Dehandlify more parts of the deserializer" · 418aa66f
    Camillo Bruni authored
    This is a reland of 7ddacd68
    
    - Allocate JSObject only after the properties are fully deserialized
    
    Original change's description:
    > [web snapshot] Dehandlify more parts of the deserializer
    >
    > - Use Heap::AddGCEpilogueCallback to update often accessed FixedArrays
    >   in the WebSnapshotDeserializer.
    > - ReadValue returns now a raw value to avoid handle creation in more
    >   cases
    > - Drop representation support for now in ReadValue
    > - Avoid a few more handles when setting up objects
    >
    > Bug v8:11525
    >
    > Change-Id: I6955b56887834bc655bdaa9c390016d9a17db82d
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3416242
    > Reviewed-by: Marja Hölttä <marja@chromium.org>
    > Commit-Queue: Camillo Bruni <cbruni@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#78862}
    
    Change-Id: I2b64e59df02d4d723f76e157aad045f94a22d2b9
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3427202
    Auto-Submit: Camillo Bruni <cbruni@chromium.org>
    Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
    Commit-Queue: Marja Hölttä <marja@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#78902}
    418aa66f
web-snapshot.h 11.5 KB