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

Unified Diff: runtime/vm/object_graph.h

Issue 292663012: Retaining path in Observatory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_graph.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_graph.h
===================================================================
--- runtime/vm/object_graph.h (revision 36435)
+++ runtime/vm/object_graph.h (working copy)
@@ -69,9 +69,9 @@
intptr_t SizeRetainedByClass(intptr_t class_id);
// Finds some retaining path from the isolate roots to 'obj'. Populates the
- // provided array, starting with a direct parent of 'obj', up to the smaller
- // of the length of the array and the length of the path. Returns the length
- // of the path. A null input array behaves like a zero-length input array.
+ // provided array, starting 'obj' itself, up to the smaller of the length of
+ // the array and the length of the path. Returns the length of the path. A
+ // null input array behaves like a zero-length input array.
//
// To break the trivial path, the handle 'obj' is temporarily cleared during
// the search, but restored before returning. If no path is found (i.e., the
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698