diff options
Diffstat (limited to 'deps/v8/src/heap/memory-reducer.h')
-rw-r--r-- | deps/v8/src/heap/memory-reducer.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/deps/v8/src/heap/memory-reducer.h b/deps/v8/src/heap/memory-reducer.h index 6e5034ca45..90a955150e 100644 --- a/deps/v8/src/heap/memory-reducer.h +++ b/deps/v8/src/heap/memory-reducer.h @@ -110,11 +110,7 @@ class V8_EXPORT_PRIVATE MemoryReducer { bool can_start_incremental_gc; }; - explicit MemoryReducer(Heap* heap) - : heap_(heap), - state_(kDone, 0, 0.0, 0.0, 0), - js_calls_counter_(0), - js_calls_sample_time_ms_(0.0) {} + explicit MemoryReducer(Heap* heap); // Callbacks. void NotifyMarkCompact(const Event& event); void NotifyPossibleGarbage(const Event& event); @@ -159,6 +155,7 @@ class V8_EXPORT_PRIVATE MemoryReducer { static bool WatchdogGC(const State& state, const Event& event); Heap* heap_; + std::shared_ptr<v8::TaskRunner> taskrunner_; State state_; unsigned int js_calls_counter_; double js_calls_sample_time_ms_; |