| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index c66be54567f46408c2c02338b6404266e8af3af3..5db8321db414e78a8f9eb8687511cd22c2103247 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -14001,7 +14001,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();
|
|
|