| Index: test/cctest/test-cpu-profiler.cc
|
| diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc
|
| index 83c4e33c45dbaff62a99c856936df6a77ce9a690..e074732120271fef0cee3bdffc9b5fa38a6ad7e9 100644
|
| --- a/test/cctest/test-cpu-profiler.cc
|
| +++ b/test/cctest/test-cpu-profiler.cc
|
| @@ -1164,7 +1164,7 @@ TEST(FunctionCallSample) {
|
|
|
| // Collect garbage that might have be generated while installing
|
| // extensions.
|
| - CcTest::heap()->CollectAllGarbage();
|
| + CcTest::CollectAllGarbage(i::Heap::kFinalizeIncrementalMarkingMask);
|
|
|
| CompileRun(call_function_test_source);
|
| v8::Local<v8::Function> function = GetFunction(env.local(), "start");
|
|
|