Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index f0682b297c2ac4eb4c5910cb62f8fea8d865c7a4..71ce8dca26a51d242a12aa72aff1a8d785e79352 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -4324,7 +4324,7 @@ TEST(ArrayShiftSweeping) { |
CHECK(heap->InOldPointerSpace(o->elements())); |
CHECK(heap->InOldPointerSpace(*o)); |
Page* page = Page::FromAddress(o->elements()->address()); |
- CHECK(page->WasSwept() || |
+ CHECK(page->parallel_sweeping() <= MemoryChunk::PARALLEL_SWEEPING_FINALIZE || |
Marking::IsBlack(Marking::MarkBitFrom(o->elements()))); |
} |