Index: test/cctest/test-cpu-profiler.cc |
diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
index 8fc44a9e89aee16d75200cc4ee94a52e31b95b4a..d935b055e7e93c1225bbf36a265f8cf196bb94e3 100644 |
--- a/test/cctest/test-cpu-profiler.cc |
+++ b/test/cctest/test-cpu-profiler.cc |
@@ -1178,7 +1178,7 @@ |
// Collect garbage that might have be generated while installing |
// extensions. |
- CcTest::heap()->CollectAllGarbage(); |
+ CcTest::heap()->CollectAllGarbage(Heap::kNoGCFlags); |
CompileRun(call_function_test_source); |
v8::Local<v8::Function> function = GetFunction(*env, "start"); |