Index: test/cctest/heap/test-compaction.cc |
diff --git a/test/cctest/heap/test-compaction.cc b/test/cctest/heap/test-compaction.cc |
index b787780d25dd7bb8c7a3840d238a35b307882c31..0feee5fc46599330b56f12070268a3fdc2cbf016 100644 |
--- a/test/cctest/heap/test-compaction.cc |
+++ b/test/cctest/heap/test-compaction.cc |
@@ -50,7 +50,6 @@ |
heap->set_force_oom(true); |
heap->CollectAllGarbage(); |
- heap->mark_compact_collector()->EnsureSweepingCompleted(); |
// Check that all handles still point to the same page, i.e., compaction |
// has been aborted on the page. |
@@ -109,7 +108,6 @@ |
heap->set_force_oom(true); |
heap->CollectAllGarbage(); |
- heap->mark_compact_collector()->EnsureSweepingCompleted(); |
bool migration_aborted = false; |
for (Handle<FixedArray> object : compaction_page_handles) { |
@@ -192,7 +190,6 @@ |
heap->set_force_oom(true); |
heap->CollectAllGarbage(); |
- heap->mark_compact_collector()->EnsureSweepingCompleted(); |
// The following check makes sure that we compacted "some" objects, while |
// leaving others in place. |
@@ -286,7 +283,6 @@ |
heap->set_force_oom(true); |
heap->CollectAllGarbage(); |
- heap->mark_compact_collector()->EnsureSweepingCompleted(); |
// The following check makes sure that we compacted "some" objects, while |
// leaving others in place. |