Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index f460b55960d58e1fd08e91c651c413bd31b8b848..4535bbb2cb08b4139e10b6a83cf97c92b2c57332 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -2118,6 +2118,18 @@ class Heap { |
double idle_time_in_ms, size_t size_of_objects, |
size_t mark_compact_speed_in_bytes_per_ms); |
+ GCIdleTimeHandler::HeapState ComputeHeapState(bool reduce_memory); |
+ |
+ bool PerformIdleTimeAction(GCIdleTimeAction action, |
+ GCIdleTimeHandler::HeapState heap_state, |
+ double deadline_in_ms, |
+ bool is_long_idle_notification); |
+ |
+ void IdleNotificationEpilogue(GCIdleTimeAction action, |
+ GCIdleTimeHandler::HeapState heap_state, |
+ double start_ms, double deadline_in_ms, |
+ bool is_long_idle_notification); |
+ |
void ClearObjectStats(bool clear_last_time_stats = false); |
inline void UpdateAllocationsHash(HeapObject* object); |