Index: src/heap/memory-reducer.h |
diff --git a/src/heap/memory-reducer.h b/src/heap/memory-reducer.h |
index c96005380cd030841b07cf30830999538a5aa6ea..f98cb045e3854a3ed6cae2a37a3da95c33efff43 100644 |
--- a/src/heap/memory-reducer.h |
+++ b/src/heap/memory-reducer.h |
@@ -130,6 +130,10 @@ class MemoryReducer { |
Heap* heap() { return heap_; } |
+ bool ShouldGrowHeapSlowly() { |
+ return state_.action == kDone && state_.started_gcs > 0; |
+ } |
+ |
private: |
class TimerTask : public v8::internal::CancelableTask { |
public: |