Index: test/cctest/test-log.cc |
diff --git a/test/cctest/test-log.cc b/test/cctest/test-log.cc |
index 3c127c810c95a130263a105bcf409a234af5a767..91029286f7fddf8cdc700c64dfbfad77bcb2e0d6 100644 |
--- a/test/cctest/test-log.cc |
+++ b/test/cctest/test-log.cc |
@@ -486,7 +486,7 @@ TEST(EquivalenceOfLoggingAndTraversal) { |
"})(this);"); |
logger->StopProfiler(); |
reinterpret_cast<i::Isolate*>(isolate)->heap()->CollectAllGarbage( |
- i::Heap::kMakeHeapIterableMask); |
+ i::Heap::kMakeHeapIterableMask, i::GarbageCollectionReason::kTesting); |
logger->StringEvent("test-logging-done", ""); |
// Iterate heap to find compiled functions, will write to log. |