• Dan Elphick's avatar
    Reland "[heap] Remove FreeList when sealing RO_SPACE" · 2cb1e2ef
    Dan Elphick authored
    This is a reland of afd9493a
    
    LSAN_IGNORE_OBJECTs for FreeListCategories are now removed.
    
    Original change's description:
    > [heap] Remove FreeList when sealing RO_SPACE
    >
    > This releases the FreeListCategories for each MemoryChunk when sealing
    > the ReadOnlySpace and deletes the FreeList.
    >
    > Additionally this also calls
    > ReleaseAllocatedMemoryNeededForWritableChunk for each MemoryChunk when
    > sealing when pointer compression is enabled even if no memory is to be
    > shared.
    >
    > Bug: v8:10454
    > Change-Id: I45aec59f6d4fddedeb713e13095f58974cda279e
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2184292
    > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
    > Commit-Queue: Dan Elphick <delphick@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#67598}
    
    Bug: v8:10454
    Change-Id: I08fcd122437c65c01af526fa8316d5c9e3ebeb3b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2184297
    Commit-Queue: Dan Elphick <delphick@chromium.org>
    Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
    Auto-Submit: Dan Elphick <delphick@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#67613}
    2cb1e2ef
memory-chunk.h 16.8 KB