diff options
author | Michaƫl Zasso <targos@protonmail.com> | 2018-01-24 20:16:06 +0100 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2018-01-24 15:02:20 -0800 |
commit | 4c4af643e5042d615a60c6bbc05aee9d81b903e5 (patch) | |
tree | 3fb0a97988fe4439ae3ae06f26915d1dcf8cab92 /deps/v8/src/global-handles.h | |
parent | fa9f31a4fda5a3782c652e56e394465805ebb50f (diff) | |
download | android-node-v8-4c4af643e5042d615a60c6bbc05aee9d81b903e5.tar.gz android-node-v8-4c4af643e5042d615a60c6bbc05aee9d81b903e5.tar.bz2 android-node-v8-4c4af643e5042d615a60c6bbc05aee9d81b903e5.zip |
deps: update V8 to 6.4.388.40
PR-URL: https://github.com/nodejs/node/pull/17489
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Diffstat (limited to 'deps/v8/src/global-handles.h')
-rw-r--r-- | deps/v8/src/global-handles.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/deps/v8/src/global-handles.h b/deps/v8/src/global-handles.h index b5c3b2191d..59b94e371b 100644 --- a/deps/v8/src/global-handles.h +++ b/deps/v8/src/global-handles.h @@ -97,11 +97,6 @@ class GlobalHandles { // Clear the weakness of a global handle. static void* ClearWeakness(Object** location); - // Mark the reference to this object independent. - static void MarkIndependent(Object** location); - - static bool IsIndependent(Object** location); - // Tells whether global handle is near death. static bool IsNearDeath(Object** location); @@ -154,14 +149,14 @@ class GlobalHandles { 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. + // Marks weak unmodified handles satisfying |is_dead| as pending. void MarkNewSpaceWeakUnmodifiedObjectsPending( - WeakSlotCallbackWithHeap is_unscavenged); + WeakSlotCallbackWithHeap is_dead); - // Iterates over weak independent or unmodified handles. - // See the note above. - void IterateNewSpaceWeakUnmodifiedRoots(RootVisitor* v); + // Iterates over weak unmodified handles. See the note above. + void IterateNewSpaceWeakUnmodifiedRootsForFinalizers(RootVisitor* v); + void IterateNewSpaceWeakUnmodifiedRootsForPhantomHandles( + RootVisitor* v, WeakSlotCallbackWithHeap should_reset_handle); // Identify unmodified objects that are in weak state and marks them // unmodified |