Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index a3da4c8eab08a9a63c795bf2b2cb9abe50d6dbfd..110f614e1b7f80afe660e910b48be74c488b59ae 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -940,7 +940,8 @@ Object* Isolate::StackOverflow() { |
#ifdef VERIFY_HEAP |
if (FLAG_verify_heap && FLAG_stress_compaction) { |
- heap()->CollectAllGarbage(Heap::kNoGCFlags, "trigger compaction"); |
+ heap()->CollectAllGarbage(Heap::kNoGCFlags, |
+ GarbageCollectionReason::kTesting); |
} |
#endif // VERIFY_HEAP |