• Michael Lippautz's avatar
    Revert "[api,heap] Remove deprecated Persistent APIs" · 49954eb5
    Michael Lippautz authored
    This reverts commit 1ebf5f72.
    
    Reason for revert: Breaks TSAN
    
    Original change's description:
    > [api,heap] Remove deprecated Persistent APIs
    > 
    > Removes APIs:
    > - MarkIndependent
    > - IsIndependent
    > - MarkActive
    > - RegisterExternalReference
    > 
    > All weak persistent handles are now treated as independent. Users of
    > traced handles should already use v8::EmbedderHeapTracer.
    > 
    > Bug: chromium:923361
    > Change-Id: Ic90a647fe2ce9db92197ad6560e4907290805592
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1578459
    > Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
    > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#60953}
    
    TBR=ulan@chromium.org,mlippautz@chromium.org
    
    Change-Id: I8281daf30b67c1b71ef6e65d8f13a59230ba0334
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: chromium:923361
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1578900Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
    Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#60954}
    49954eb5
global-handles.cc 42.9 KB