• Michael Lippautz's avatar
    cppgc: Allow CrossThreadPersistent to access poisoned memory from GC · c58862c3
    Michael Lippautz authored
    Allow CrossThreadPersistent and its weak form to access ASAN poisoned
    memory from the GC entry points.
    
    In general, payloads of to-be-finalized objects are poisoned until the
    finalizer actually runs to avoid accidentally touching that payload.
    
    In the case of cross-thread handles, these may need to be cleared by a
    different thread before the finalizer actually runs. In order to clear
    those references, the slot needs to be unpoisoned.
    
    This is issue is ASAN-only and does not affect production or other
    debug builds.
    
    Bug: chromium:1230599, chromium:1056170
    Change-Id: If4d0808953047319b02653821abbb5c638084dc5
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3040845
    Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
    Reviewed-by: 's avatarOmer Katz <omerkatz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#75846}
    c58862c3
Name
Last commit
Last update
..
internal Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
allocation.h Loading commit data...
common.h Loading commit data...
cross-thread-persistent.h Loading commit data...
custom-space.h Loading commit data...
default-platform.h Loading commit data...
ephemeron-pair.h Loading commit data...
explicit-management.h Loading commit data...
garbage-collected.h Loading commit data...
heap-consistency.h Loading commit data...
heap-state.h Loading commit data...
heap-statistics.h Loading commit data...
heap.h Loading commit data...
liveness-broker.h Loading commit data...
macros.h Loading commit data...
member.h Loading commit data...
name-provider.h Loading commit data...
object-size-trait.h Loading commit data...
persistent.h Loading commit data...
platform.h Loading commit data...
prefinalizer.h Loading commit data...
process-heap-statistics.h Loading commit data...
sentinel-pointer.h Loading commit data...
source-location.h Loading commit data...
testing.h Loading commit data...
trace-trait.h Loading commit data...
type-traits.h Loading commit data...
visitor.h Loading commit data...