diff options
Diffstat (limited to 'deps/v8/src/heap/memory-reducer.h')
-rw-r--r-- | deps/v8/src/heap/memory-reducer.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/deps/v8/src/heap/memory-reducer.h b/deps/v8/src/heap/memory-reducer.h index 0fe53e5fea..0421987a3c 100644 --- a/deps/v8/src/heap/memory-reducer.h +++ b/deps/v8/src/heap/memory-reducer.h @@ -8,6 +8,7 @@ #include "include/v8-platform.h" #include "src/base/macros.h" #include "src/cancelable-task.h" +#include "src/globals.h" namespace v8 { namespace internal { @@ -79,7 +80,7 @@ class Heap; // now_ms is the current time, // t' is t if the current event is not a GC event and is now_ms otherwise, // long_delay_ms, short_delay_ms, and watchdog_delay_ms are constants. -class MemoryReducer { +class V8_EXPORT_PRIVATE MemoryReducer { public: enum Action { kDone, kWait, kRun }; @@ -148,9 +149,6 @@ class MemoryReducer { static bool WatchdogGC(const State& state, const Event& event); - // Returns the rate of JS calls initiated from the API. - double SampleAndGetJsCallsPerMs(double time_ms); - Heap* heap_; State state_; unsigned int js_calls_counter_; |