summaryrefslogtreecommitdiff
path: root/deps/v8/src/heap/memory-reducer.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/heap/memory-reducer.h')
-rw-r--r--deps/v8/src/heap/memory-reducer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/heap/memory-reducer.h b/deps/v8/src/heap/memory-reducer.h
index 9213613c07..0fe53e5fea 100644
--- a/deps/v8/src/heap/memory-reducer.h
+++ b/deps/v8/src/heap/memory-reducer.h
@@ -96,7 +96,7 @@ class MemoryReducer {
double last_gc_time_ms;
};
- enum EventType { kTimer, kMarkCompact, kContextDisposed };
+ enum EventType { kTimer, kMarkCompact, kPossibleGarbage };
struct Event {
EventType type;
@@ -113,7 +113,7 @@ class MemoryReducer {
js_calls_sample_time_ms_(0.0) {}
// Callbacks.
void NotifyMarkCompact(const Event& event);
- void NotifyContextDisposed(const Event& event);
+ void NotifyPossibleGarbage(const Event& event);
void NotifyBackgroundIdleNotification(const Event& event);
// The step function that computes the next state from the current state and
// the incoming event.