aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/global-handles.h
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2017-09-12 11:34:59 +0200
committerAnna Henningsen <anna@addaleax.net>2017-09-13 16:15:18 +0200
commitd82e1075dbc2cec2d6598ade10c1f43805f690fd (patch)
treeccd242b9b491dfc341d1099fe11b0ef528839877 /deps/v8/src/global-handles.h
parentb4b7ac6ae811b2b5a3082468115dfb5a5246fe3f (diff)
downloadandroid-node-v8-d82e1075dbc2cec2d6598ade10c1f43805f690fd.tar.gz
android-node-v8-d82e1075dbc2cec2d6598ade10c1f43805f690fd.tar.bz2
android-node-v8-d82e1075dbc2cec2d6598ade10c1f43805f690fd.zip
deps: update V8 to 6.1.534.36
PR-URL: https://github.com/nodejs/node/pull/14730 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'deps/v8/src/global-handles.h')
-rw-r--r--deps/v8/src/global-handles.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/deps/v8/src/global-handles.h b/deps/v8/src/global-handles.h
index c56568de9f..6a25134698 100644
--- a/deps/v8/src/global-handles.h
+++ b/deps/v8/src/global-handles.h
@@ -92,6 +92,8 @@ class GlobalHandles {
number_of_phantom_handle_resets_ = 0;
}
+ size_t NumberOfNewSpaceNodes() { return new_space_nodes_.length(); }
+
// Clear the weakness of a global handle.
static void* ClearWeakness(Object** location);
@@ -118,6 +120,7 @@ class GlobalHandles {
void IterateAllRoots(RootVisitor* v);
void IterateAllNewSpaceRoots(RootVisitor* v);
+ void IterateNewSpaceRoots(RootVisitor* v, size_t start, size_t end);
// Iterates over all handles that have embedder-assigned class ID.
void IterateAllRootsWithClassIds(v8::PersistentHandleVisitor* v);
@@ -142,9 +145,14 @@ class GlobalHandles {
// guaranteed to contain all handles holding new space objects (but
// may also include old space objects).
- // Iterates over strong and dependent handles. See the node above.
+ // Iterates over strong and dependent handles. See the note above.
void IterateNewSpaceStrongAndDependentRoots(RootVisitor* v);
+ // Iterates over strong and dependent handles. See the note above.
+ // Also marks unmodified nodes in the same iteration.
+ void IterateNewSpaceStrongAndDependentRootsAndIdentifyUnmodified(
+ RootVisitor* v, size_t start, size_t end);
+
// Finds weak independent or unmodified handles satisfying
// the callback predicate and marks them as pending. See the note above.
void MarkNewSpaceWeakUnmodifiedObjectsPending(