Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 4feb70eb412d8558fc15c8f88116fa3c8f984df6..5a9462df6647c25e6b234067ec6cd7ea94ece64c 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -4541,7 +4541,7 @@ void Heap::EnsureHeapIsIterable() { |
bool Heap::IdleNotification(int hint) { |
- if (contexts_disposed_ > 0 || !FLAG_incremental_marking || |
+ if (hint >= 1000 || contexts_disposed_ > 0 || !FLAG_incremental_marking || |
FLAG_expose_gc || Serializer::enabled()) { |
return hint < 1000 ? true : IdleGlobalGC(); |
Erik Corry
2011/12/06 10:28:34
Simpler version:
if (hint >= 1000) return IdleGlo
ulan
2011/12/06 14:29:09
Done.
|
} |