| Index: src/heap/heap.h
|
| diff --git a/src/heap/heap.h b/src/heap/heap.h
|
| index 06f93040925c85118914093b2769ac2fc7f5b3f6..4f13970d5aad0e3b0a0f51f5792eba7b4329c58b 100644
|
| --- a/src/heap/heap.h
|
| +++ b/src/heap/heap.h
|
| @@ -2066,10 +2066,10 @@ class Heap {
|
|
|
| void SelectScavengingVisitorsTable();
|
|
|
| - void IdleMarkCompact(const char* message);
|
| + void ReduceNewSpaceSize(bool long_idle_time);
|
|
|
| bool TryFinalizeIdleIncrementalMarking(
|
| - double idle_time_in_ms, size_t size_of_objects,
|
| + bool long_idle_time, 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.
|
|
|