Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 06f93040925c85118914093b2769ac2fc7f5b3f6..ed288ac282bc4dadaeb6e5361326db2fa27a41d6 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -2066,11 +2066,11 @@ class Heap { |
void SelectScavengingVisitorsTable(); |
- void IdleMarkCompact(const char* message); |
+ void ReduceNewSpaceSize(bool is_long_idle_notification); |
bool TryFinalizeIdleIncrementalMarking( |
- double idle_time_in_ms, size_t size_of_objects, |
- size_t mark_compact_speed_in_bytes_per_ms); |
+ bool is_long_idle_notification, double idle_time_in_ms, |
+ size_t size_of_objects, size_t mark_compact_speed_in_bytes_per_ms); |
void ClearObjectStats(bool clear_last_time_stats = false); |
@@ -2114,6 +2114,7 @@ class Heap { |
IncrementalMarking incremental_marking_; |
GCIdleTimeHandler gc_idle_time_handler_; |
+ |
unsigned int gc_count_at_last_idle_gc_; |
// These two counters are monotomically increasing and never reset. |