• Michael Lippautz's avatar
    cppgc: Move ProcessWeakness into FinishMarking · 20e1ba28
    Michael Lippautz authored
    For cross-thread handling we require the atomic marking pause to
    provide an atomically consistent view of markbits and weak references.
    This is ensured by locking the whole atomic pause from entering to
    weak processing.
    
    This CL move ProcessWeakness() into FinishMarking() which allows to
    nicely scope the upcomming lock from EnterAtomicPause() to
    LeaveAtomicPause(). The alternative is requiring the caller to ensure
    proper locking which is harder than ensuring that the Marker is
    consistent.
    
    Bug: chromium:1056170
    Change-Id: Ib6028a0d76fcf9422c4a0d422fec3d568f106bf2
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2442620
    Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
    Reviewed-by: 's avatarOmer Katz <omerkatz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70259}
    20e1ba28
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...
custom-space.h Loading commit data...
default-platform.h Loading commit data...
garbage-collected.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...
persistent.h Loading commit data...
platform.h Loading commit data...
prefinalizer.h Loading commit data...
source-location.h Loading commit data...
trace-trait.h Loading commit data...
type-traits.h Loading commit data...
visitor.h Loading commit data...