diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-03-08 09:33:11 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-03-08 09:33:11 -0800 |
commit | c98b0799bf77cc5e01ae9a3c39d8180d8ee976d4 (patch) | |
tree | 80b91ccffe579a694fae8270461dd01393dea89f /deps/v8/src/heap.h | |
parent | 40e42e8107f9c580d83167305c42e8471e7b6259 (diff) | |
download | node-new-c98b0799bf77cc5e01ae9a3c39d8180d8ee976d4.tar.gz |
Upgrade V8 to 2.1.2.6
Diffstat (limited to 'deps/v8/src/heap.h')
-rw-r--r-- | deps/v8/src/heap.h | 8 |
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; |