Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Unified Diff: src/global-handles.h

Issue 1773273002: Add flag to trace object groups (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/global-handles.h
diff --git a/src/global-handles.h b/src/global-handles.h
index 7047d8ca015d7344022cb61e4fe4d18308803a8c..43c0d9c2f65e5c49f8d24dfc155fc00e27e0859d 100644
--- a/src/global-handles.h
+++ b/src/global-handles.h
@@ -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.
@@ -355,6 +358,7 @@ class GlobalHandles {
List<PendingPhantomCallback> pending_phantom_callbacks_;
friend class Isolate;
+ friend class ObjectGroupsTracer;
ulan 2016/03/08 20:23:33 Not needed.
Marcel Hlopko 2016/03/09 09:30:30 Done.
DISALLOW_COPY_AND_ASSIGN(GlobalHandles);
};

Powered by Google App Engine
This is Rietveld 408576698