diff options
Diffstat (limited to 'deps/v8/src/global-handles.h')
-rw-r--r-- | deps/v8/src/global-handles.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/deps/v8/src/global-handles.h b/deps/v8/src/global-handles.h index 7047d8ca01..ac8487b19f 100644 --- a/deps/v8/src/global-handles.h +++ b/deps/v8/src/global-handles.h @@ -165,7 +165,7 @@ class GlobalHandles { // Clear the weakness of a global handle. static void* ClearWeakness(Object** location); - // Clear the weakness of a global handle. + // Mark the reference to this object independent of any object group. static void MarkIndependent(Object** location); // Mark the reference to this object externaly unreachable. @@ -242,6 +242,9 @@ class GlobalHandles { // can be skipped and false otherwise. bool IterateObjectGroups(ObjectVisitor* v, WeakSlotCallbackWithHeap can_skip); + // Print all objects in object groups + void PrintObjectGroups(); + // Add an object group. // Should be only used in GC callback function before a collection. // All groups are destroyed after a garbage collection. |