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

Unified Diff: runtime/vm/object_graph.h

Issue 773573005: vmservice: basic object graph serialization. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years 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
===================================================================
--- runtime/vm/object_graph.h (revision 41936)
+++ runtime/vm/object_graph.h (working copy)
@@ -89,6 +89,10 @@
// be live due to references from the stack or embedder handles.
intptr_t InboundReferences(Object* obj, const Array& references);
+ // Write the isolate's object graph to 'stream'. Smis and nulls are omitted.
+ // TODO(koda): Document format; support streaming/chunking.
+ void Serialize(WriteStream* stream);
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(ObjectGraph);
};

Powered by Google App Engine
This is Rietveld 408576698