• Leon Bettscheider's avatar
    [heap] Enable MinorMC concurrent marking · 4320ed7d
    Leon Bettscheider authored
    This CL implements ConcurrentMarking::RunMinor which uses
    YoungGenerationConcurrentMarkingVisitor (go/YGCMV).
    
    This CL also implements Teardown and FinishConcurrentMarking, and
    schedules minor concurrent marking in
    IncrementalMarking::StartMarkingMinor.
    
    Additionally, this CL opts out of ConcurrentMarking::PauseScope in
    Heap::MinorMarkCompact if concurrent MinorMC is active because
    concurrent marking will be finalized in FinishConcurrentMarking
    subsequentially.
    
    Bug: v8:13012
    Change-Id: I78fe18416e564565c6421243ff40dec7561fb20a
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3850292
    Commit-Queue: Leon Bettscheider <bettscheider@google.com>
    Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Reviewed-by: 's avatarOmer Katz <omerkatz@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#82978}
    4320ed7d
incremental-marking.cc 34.8 KB