Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 1f7d8784f6b8fbf104e121212fc6e5c2b28a9196..a9e4fe733aa66bff19b41191aed9e57a1d0b0570 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -4312,6 +4312,10 @@ bool Heap::IdleNotification(int idle_time_in_ms) { |
static_cast<size_t>(tracer()->MarkCompactSpeedInBytesPerMillisecond()); |
heap_state.incremental_marking_speed_in_bytes_per_ms = static_cast<size_t>( |
tracer()->IncrementalMarkingSpeedInBytesPerMillisecond()); |
+ heap_state.scavenge_speed_in_bytes_per_ms = |
+ static_cast<size_t>(tracer()->ScavengeSpeedInBytesPerMillisecond()); |
+ heap_state.available_new_space_memory = new_space_.Available(); |
+ heap_state.new_space_capacity = new_space_.Capacity(); |
GCIdleTimeAction action = |
gc_idle_time_handler_.Compute(idle_time_in_ms, heap_state); |