v8/test/cctest/heap
Leon Bettscheider 924cf85e00 [heap] IsMarkingComplete only for MajorMC
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: Omer Katz <omerkatz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83064}
2022-09-08 11:15:29 +00:00
..
heap-tester.h [heap] Remove references to semi spaces from heap.cc 2022-05-16 15:45:40 +00:00
heap-utils.cc [heap] IsMarkingComplete only for MajorMC 2022-09-08 11:15:29 +00:00
heap-utils.h [api, heap] Deprecate v8::EmbedderHeapTracer 2022-08-24 09:03:00 +00:00
test-alloc.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
test-array-buffer-tracker.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
test-compaction.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
test-concurrent-allocation.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
test-concurrent-marking.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
test-external-string-tracker.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
test-heap.cc [heap] IsMarkingComplete only for MajorMC 2022-09-08 11:15:29 +00:00
test-incremental-marking.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
test-invalidated-slots.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
test-iterators.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
test-mark-compact.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
test-memory-measurement.cc [test] Make cctest run one test, with maybe custom platform 2022-04-05 09:39:18 +00:00
test-spaces.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
test-unmapper.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
test-weak-references.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
test-write-barrier.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00