Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index 8d3621d8a04b0beea0e60e0a93d6f42cfb6d9270..68e371b96edc43aa2bb6c9f82bbc80967097f9e6 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -297,8 +297,8 @@ |
isolate->bootstrapper()->NativesSourceLookup(i); |
} |
} |
- heap->CollectAllGarbage(); |
- heap->CollectAllGarbage(); |
+ heap->CollectAllGarbage(Heap::kNoGCFlags); |
+ heap->CollectAllGarbage(Heap::kNoGCFlags); |
Object* raw_foo; |
{ |
@@ -422,7 +422,7 @@ |
} |
// If we don't do this then we end up with a stray root pointing at the |
// context even after we have disposed of env. |
- heap->CollectAllGarbage(); |
+ heap->CollectAllGarbage(Heap::kNoGCFlags); |
int file_name_length = StrLength(FLAG_testing_serialization_file) + 10; |
Vector<char> startup_name = Vector<char>::New(file_name_length + 1); |