• Ulan Degenbaev's avatar
    Revert "[heap] Refactor marking weak object worklists" · b83d0b80
    Ulan Degenbaev authored
    This reverts commit ff61743f.
    
    Reason for revert: speculative revert for crbug.com/1135472
    
    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}
    
    TBR=ulan@chromium.org,dinfuehr@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Change-Id: I552423106b516bcc79d067cda390c188a717b125
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2452711Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70351}
    b83d0b80
marking-visitor.h 9.28 KB