Index: src/heap/gc-idle-time-handler.h |
diff --git a/src/heap/gc-idle-time-handler.h b/src/heap/gc-idle-time-handler.h |
index 15aaea668f8e98047e78176642d5d2d2667adc04..edd5e42e263e356579d5b7568fc970a863dace16 100644 |
--- a/src/heap/gc-idle-time-handler.h |
+++ b/src/heap/gc-idle-time-handler.h |
@@ -155,7 +155,11 @@ class GCIdleTimeHandler { |
static size_t EstimateMarkCompactTime( |
size_t size_of_objects, size_t mark_compact_speed_in_bytes_per_ms); |
- static bool DoScavenge( |
+ static bool ShouldDoMarkCompact(size_t idle_time_in_ms, |
+ size_t size_of_objects, |
+ size_t mark_compact_speed_in_bytes_per_ms); |
+ |
+ static bool ShouldDoScavenge( |
size_t idle_time_in_ms, size_t new_space_size, size_t used_new_space_size, |
size_t scavenger_speed_in_bytes_per_ms, |
size_t new_space_allocation_throughput_in_bytes_per_ms); |