• Ulan Degenbaev's avatar
    Revert "[heap] Convert WeakObjects to heap::base::Worklist" · a282d2e9
    Ulan Degenbaev authored
    This reverts commit 969cdfe6.
    
    Reason for revert: speculative revert for crbug.com/1135472
    
    Original change's description:
    > [heap] Convert WeakObjects to heap::base::Worklist
    >
    > This splits WeakObjects into explicit global and local worklists.
    > The latter are defined in WeakObjects::Local and are thread-local.
    >
    > The main thread local worklist is stored in
    > MarkCompactCollector::local_weak_objects and exists during marking
    > similar to local_marking_worklists. Concurrent markers create their
    > own local worklists that are published at the end.
    >
    > Change-Id: I093fdc580b4609ce83455b860b90a5099085beac
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2440607
    > Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
    > Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#70317}
    
    TBR=ulan@chromium.org,dinfuehr@chromium.org
    
    Change-Id: I3fa3bfdcf3c359f46a3b56c19fb4e486883cde9d
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2452749Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70344}
    a282d2e9
test-js-weak-refs.cc 38.1 KB