• Dominik Inführ's avatar
    [heap] Slots are either in sweeping or old-to-new RS after Full GC · e79d34ee
    Dominik Inführ authored
    This CL ensures that recorded slots are either in the sweeping or the
    old-to-new remembered set after mark-compact depending on whether the
    page was already swept or not.
    
    All pages that are swept during the evacuation phase also have their
    remembered sets merged. is_local() is renamed to
    is_compaction_space() and non-virtual. The PagedSpace now not only
    knows whether it is a compaction space or not but also for which
    collection through the compaction_space_kind_ field. This allows
    RefillFreeList to merge the remembered sets immediately also for the
    mark-compact collection.
    
    Change-Id: I7457f8393d73f3e8d6b6ebedc46ebc36af509729
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1868613Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#64458}
    e79d34ee
spaces-inl.h 20.8 KB