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

Unified Diff: runtime/vm/object_graph.h

Issue 1124153006: Heap snapshot visualizations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: sync Created 5 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/observatory/tests/service/graph_test.dart ('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
diff --git a/runtime/vm/object_graph.h b/runtime/vm/object_graph.h
index a5748b3b8d01c5f7c8e615899c65d7ac19a8093e..316359764c042800701c4c1e93e470d3f494a5a2 100644
--- a/runtime/vm/object_graph.h
+++ b/runtime/vm/object_graph.h
@@ -90,8 +90,9 @@ class ObjectGraph : public StackResource {
intptr_t InboundReferences(Object* obj, const Array& references);
// Write the isolate's object graph to 'stream'. Smis and nulls are omitted.
+ // Returns the number of nodes in the stream, including the root.
// TODO(koda): Document format; support streaming/chunking.
- void Serialize(WriteStream* stream);
+ intptr_t Serialize(WriteStream* stream);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(ObjectGraph);
« no previous file with comments | « runtime/observatory/tests/service/graph_test.dart ('k') | runtime/vm/object_graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698