| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index b97dd7706edd01489786aab51ce7e14c58ca3db3..647ff3214a2a73a181df5b572abfffac66f2139b 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -13912,7 +13912,7 @@
|
| // been marked at that point. Therefore some of the maps are not
|
| // collected until the second garbage collection.
|
| CcTest::heap()->CollectAllGarbage();
|
| - CcTest::heap()->CollectAllGarbage();
|
| + CcTest::heap()->CollectAllGarbage(i::Heap::kMakeHeapIterableMask);
|
| int count = GetGlobalObjectsCount();
|
| #ifdef DEBUG
|
| if (count != expected) CcTest::heap()->TracePathToGlobal();
|
|
|