summaryrefslogtreecommitdiff
path: root/deps/v8/src/heap.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/heap.h')
-rw-r--r--deps/v8/src/heap.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/deps/v8/src/heap.h b/deps/v8/src/heap.h
index 3f34df72b1..50846499d4 100644
--- a/deps/v8/src/heap.h
+++ b/deps/v8/src/heap.h
@@ -632,10 +632,6 @@ class Heap : public AllStatic {
// parameter is true.
static void CollectAllGarbage(bool force_compaction);
- // Performs a full garbage collection if a context has been disposed
- // since the last time the check was performed.
- static void CollectAllGarbageIfContextDisposed();
-
// Notify the heap that a context has been disposed.
static void NotifyContextDisposed();
@@ -908,7 +904,9 @@ class Heap : public AllStatic {
static int always_allocate_scope_depth_;
static int linear_allocation_scope_depth_;
- static bool context_disposed_pending_;
+
+ // For keeping track of context disposals.
+ static int contexts_disposed_;
#if defined(V8_TARGET_ARCH_X64)
static const int kMaxObjectSizeInNewSpace = 512*KB;