Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 73a3909591348d79c8d2653da22fb244234b3c2b..440c6f15c490254016b5789fda65c6b508ceb19a 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -378,7 +378,7 @@ |
// Collect garbage to ensure weak handles are cleared. |
CcTest::heap()->CollectAllGarbage(); |
- CcTest::heap()->CollectAllGarbage(); |
+ CcTest::heap()->CollectAllGarbage(Heap::kMakeHeapIterableMask); |
// Iterate the head and check that there are no debugger related objects left. |
HeapIterator iterator(CcTest::heap()); |