• Ulan Degenbaev's avatar
    Reland "[heap] Refactor marking weak object worklists" · fed3ab6c
    Ulan Degenbaev authored
    This is a reland of ff61743f
    
    Original change's description:
    > [heap] Refactor marking weak object worklists
    >
    > This CL extracts weak object worklist related code into separate files
    > and uses a macro to specify all weak object worklists in a generic way.
    >
    > The motivation of the refactoring is twofold:
    > 1) We can now enforce that each weak object worklist is updated after
    >    Scavenge. (Forgetting to define the update function causes a link
    >    time error.)
    > 2) The reduced boilerplate will be useful for transitioning to the
    >    new ::heap::base::Worklist.
    >
    > Change-Id: Ic80a7ccca010c09370d6525f43d78de24192f8ea
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2442624
    > Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
    > Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#70308}
    
    Change-Id: I8a9f39e53ef4123dd28a1da6f7992cdff341f694
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2461741Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70568}
    fed3ab6c
marking-visitor.h 7.75 KB