Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index dbbe67e58577c973dd9394c3978c191d14565e87..dfd799da36ebc1416ceca04781f4e0ed70734219 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -895,7 +895,7 @@ |
const int kMinNumberOfAttempts = 2; |
for (int attempt = 0; attempt < kMaxNumberOfAttempts; attempt++) { |
if (!CollectGarbage(MARK_COMPACTOR, gc_reason, NULL, |
- v8::kGCCallbackFlagCollectAllAvailableGarbage) && |
+ v8::kGCCallbackFlagForced) && |
attempt + 1 >= kMinNumberOfAttempts) { |
break; |
} |