diff options
Diffstat (limited to 'deps/v8/test/cctest/heap/test-concurrent-marking.cc')
-rw-r--r-- | deps/v8/test/cctest/heap/test-concurrent-marking.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/deps/v8/test/cctest/heap/test-concurrent-marking.cc b/deps/v8/test/cctest/heap/test-concurrent-marking.cc index 0113894982..9f6087ee98 100644 --- a/deps/v8/test/cctest/heap/test-concurrent-marking.cc +++ b/deps/v8/test/cctest/heap/test-concurrent-marking.cc @@ -34,7 +34,8 @@ TEST(ConcurrentMarking) { if (!heap->incremental_marking()->IsStopped()) return; MarkCompactCollector* collector = CcTest::heap()->mark_compact_collector(); if (collector->sweeping_in_progress()) { - collector->EnsureSweepingCompleted(); + collector->EnsureSweepingCompleted( + MarkCompactCollector::SweepingForcedFinalizationMode::kV8Only); } MarkingWorklists marking_worklists; @@ -56,7 +57,8 @@ TEST(ConcurrentMarkingReschedule) { if (!heap->incremental_marking()->IsStopped()) return; MarkCompactCollector* collector = CcTest::heap()->mark_compact_collector(); if (collector->sweeping_in_progress()) { - collector->EnsureSweepingCompleted(); + collector->EnsureSweepingCompleted( + MarkCompactCollector::SweepingForcedFinalizationMode::kV8Only); } MarkingWorklists marking_worklists; @@ -82,7 +84,8 @@ TEST(ConcurrentMarkingPreemptAndReschedule) { if (!heap->incremental_marking()->IsStopped()) return; MarkCompactCollector* collector = CcTest::heap()->mark_compact_collector(); if (collector->sweeping_in_progress()) { - collector->EnsureSweepingCompleted(); + collector->EnsureSweepingCompleted( + MarkCompactCollector::SweepingForcedFinalizationMode::kV8Only); } MarkingWorklists marking_worklists; |