• Leon Bettscheider's avatar
    [heap] IsMarkingComplete only for MajorMC · 924cf85e
    Leon Bettscheider authored
    ShouldFinalize should only be called if major incremental marking is
    active, and can crash if minor incremental marking is active, if
    MajorMC's local_marking_worklists_ was reset.
    
    The only caller is IsMarkingComplete. This CL changes the IsMarking
    check to IsMajorMarking to solve this issue, and renames
    IsMarkingComplete to IsMajorMarkingComplete.
    
    Bug: v8:13012
    Change-Id: Iba6bd5b7977ec8566c3ab0f047646d8cafd45038
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3879485
    Commit-Queue: Leon Bettscheider <bettscheider@google.com>
    Reviewed-by: 's avatarOmer Katz <omerkatz@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#83064}
    924cf85e
Name
Last commit
Last update
..
heap-tester.h Loading commit data...
heap-utils.cc Loading commit data...
heap-utils.h Loading commit data...
test-alloc.cc Loading commit data...
test-array-buffer-tracker.cc Loading commit data...
test-compaction.cc Loading commit data...
test-concurrent-allocation.cc Loading commit data...
test-concurrent-marking.cc Loading commit data...
test-external-string-tracker.cc Loading commit data...
test-heap.cc Loading commit data...
test-incremental-marking.cc Loading commit data...
test-invalidated-slots.cc Loading commit data...
test-iterators.cc Loading commit data...
test-mark-compact.cc Loading commit data...
test-memory-measurement.cc Loading commit data...
test-spaces.cc Loading commit data...
test-unmapper.cc Loading commit data...
test-weak-references.cc Loading commit data...
test-write-barrier.cc Loading commit data...