Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 9435eea2dd3c19190c66a5a5933f7dacf15c8a87..baa1e30b366ccc11f75fdf607616a883df063527 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2861,6 +2861,7 @@ TEST(TransitionArrayShrinksDuringAllocToOnePropertyFound) { |
root = GetByName("root"); |
AddPropertyTo(0, root, "prop9"); |
+ CcTest::i_isolate()->heap()->CollectGarbage(OLD_POINTER_SPACE); |
// Count number of live transitions after marking. Note that one transition |
// is left, because 'o' still holds an instance of one transition target. |