• Michael Lippautz's avatar
    [handles] Fix benign data race · cd04f804
    Michael Lippautz authored
    Upon destroying a v8::TracedReference while concurrent marking is
    running, we merely reset the object pointer but do not get rid of the
    global handle.
    
    We were also restting the parameter which would read the internal
    state for a DCHECK. Remove this clearing as the parameter field is not
    used for v8::TracedReference.
    
    Bug: chromium:1324074
    Change-Id: Ic21bad78deba0925e12c3fc1215b087d0ef5dd7a
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3637796Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
    Auto-Submit: Michael Lippautz <mlippautz@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#80459}
    cd04f804
Name
Last commit
Last update
..
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
global-handles-inl.h Loading commit data...
global-handles.cc Loading commit data...
global-handles.h Loading commit data...
handles-inl.h Loading commit data...
handles.cc Loading commit data...
handles.h Loading commit data...
local-handles-inl.h Loading commit data...
local-handles.cc Loading commit data...
local-handles.h Loading commit data...
maybe-handles-inl.h Loading commit data...
maybe-handles.h Loading commit data...
persistent-handles.cc Loading commit data...
persistent-handles.h Loading commit data...