Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index eb7c7a8cd12525a5e97342b841eceb8f0d1e2551..72769fe385a2f98e1ff633fef759667d3cb3d1f6 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -931,7 +931,7 @@ bool Heap::CollectGarbage(GarbageCollector collector, const char* gc_reason, |
} |
if (collector == MARK_COMPACTOR) { |
- gc_idle_time_handler_.NotifyMarkCompact(); |
+ gc_idle_time_handler_.NotifyMarkCompact(next_gc_likely_to_collect_more); |
Hannes Payer (out of office)
2015/05/20 11:39:13
Here it would also make sense to take fragmentatio
ulan
2015/05/20 11:45:10
I wanted to add fragmentation check after landing
|
} else { |
gc_idle_time_handler_.NotifyScavenge(); |
} |