Index: test/cctest/test-accessors.cc |
diff --git a/test/cctest/test-accessors.cc b/test/cctest/test-accessors.cc |
index 9667afb703972e5bd136067027baa766d60da78b..63c25c5b8c946a040a7cfc556907a15fc6e1bdd9 100644 |
--- a/test/cctest/test-accessors.cc |
+++ b/test/cctest/test-accessors.cc |
@@ -319,7 +319,7 @@ static void CheckAccessorArgsCorrect( |
CHECK(info.Data() |
->Equals(info.GetIsolate()->GetCurrentContext(), v8_str("data")) |
.FromJust()); |
- CcTest::heap()->CollectAllGarbage(); |
+ CcTest::CollectAllGarbage(i::Heap::kFinalizeIncrementalMarkingMask); |
CHECK(info.GetIsolate() == CcTest::isolate()); |
CHECK(info.This() == info.Holder()); |
CHECK(info.Data() |