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 6c1e4fbf206c1d4234e744d936597e0528df2611..4d738142fce905c58405452b66092a95d929a125 100644 |
--- a/src/heap/gc-idle-time-handler.h |
+++ b/src/heap/gc-idle-time-handler.h |
@@ -95,14 +95,15 @@ class GCIdleTimeHandler { |
bool incremental_marking_stopped; |
bool can_start_incremental_marking; |
bool sweeping_in_progress; |
+ size_t mark_compact_speed_in_bytes_per_ms; |
+ size_t incremental_marking_speed_in_bytes_per_ms; |
}; |
GCIdleTimeHandler() |
: mark_compacts_since_idle_round_started_(0), |
scavenges_since_last_idle_round_(0) {} |
- GCIdleTimeAction Compute(size_t idle_time_in_ms, HeapState heap_state, |
- GCTracer* gc_tracer); |
+ GCIdleTimeAction Compute(size_t idle_time_in_ms, HeapState heap_state); |
void NotifyIdleMarkCompact() { |
if (mark_compacts_since_idle_round_started_ < kMaxMarkCompactsInIdleRound) { |