Chromium Code Reviews| 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); |
| }; |