| 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 7ce0c1a2f60f84c9d39b8f3351d934144edf2c23..398c62bf2f34867d2581253591d6671030a5ace5 100644
|
| --- a/src/heap/gc-idle-time-handler.h
|
| +++ b/src/heap/gc-idle-time-handler.h
|
| @@ -125,6 +125,8 @@ class V8_EXPORT_PRIVATE GCIdleTimeHandler {
|
| GCIdleTimeAction Compute(double idle_time_in_ms,
|
| GCIdleTimeHeapState heap_state);
|
|
|
| + bool Enabled();
|
| +
|
| void ResetNoProgressCounter() { idle_times_which_made_no_progress_ = 0; }
|
|
|
| static size_t EstimateMarkingStepSize(double idle_time_in_ms,
|
| @@ -142,6 +144,7 @@ class V8_EXPORT_PRIVATE GCIdleTimeHandler {
|
|
|
| static bool ShouldDoOverApproximateWeakClosure(double idle_time_in_ms);
|
|
|
| +
|
| private:
|
| GCIdleTimeAction NothingOrDone(double idle_time_in_ms);
|
|
|
|
|