| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index ac121e059fe9a313e921d656918281da96d105eb..eef43dc6147ea9afb7308b3b9877c7f7d2daf7bd 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -2848,6 +2848,7 @@ TEST(TransitionArrayShrinksDuringAllocToZero) {
|
| "root = new F");
|
| root = GetByName("root");
|
| AddPropertyTo(2, root, "funny");
|
| + CcTest::heap()->CollectGarbage(NEW_SPACE);
|
|
|
| // Count number of live transitions after marking. Note that one transition
|
| // is left, because 'o' still holds an instance of one transition target.
|
| @@ -2874,6 +2875,7 @@ TEST(TransitionArrayShrinksDuringAllocToOne) {
|
|
|
| root = GetByName("root");
|
| AddPropertyTo(2, root, "funny");
|
| + CcTest::heap()->CollectGarbage(NEW_SPACE);
|
|
|
| // Count number of live transitions after marking. Note that one transition
|
| // is left, because 'o' still holds an instance of one transition target.
|
|
|