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

Unified Diff: runtime/vm/object_graph.h

Issue 2990643002: Calculates retaining paths through user fields and ignores VM objects (Closed)
Patch Set: Adds new test that expects a simple path for const and top level functions Created 3 years, 5 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: runtime/vm/object_graph.h
diff --git a/runtime/vm/object_graph.h b/runtime/vm/object_graph.h
index 8a9d1060b553f097fc319ae9aca2e6253eccdcbd..838c61d2296878ab3265dc78afbff84b23d700e8 100644
--- a/runtime/vm/object_graph.h
+++ b/runtime/vm/object_graph.h
@@ -63,6 +63,7 @@ class ObjectGraph : public StackResource {
// Visits all strongly reachable objects in the isolate's heap, in a
// pre-order, depth first traversal.
void IterateObjects(Visitor* visitor);
+ void IterateUserObjects(Visitor* visitor);
// Like 'IterateObjects', but restricted to objects reachable from 'root'
// (including 'root' itself).
« no previous file with comments | « runtime/observatory/tests/service/get_user_level_retaining_path_rpc_test.dart ('k') | runtime/vm/object_graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698