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

Unified Diff: runtime/vm/object_graph.cc

Issue 3009743003: [observatory] Add an "ownership" analysis for the heap snapshot. (Closed)
Patch Set: . Created 3 years, 4 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/observatory_ui/mocks/objects/heap_snapshot.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_graph.cc
diff --git a/runtime/vm/object_graph.cc b/runtime/vm/object_graph.cc
index 283143b74e9f3dc7653084381358fac9a0f2042c..6057a0d61659777c3fa7b9174ac243e992eb9f41 100644
--- a/runtime/vm/object_graph.cc
+++ b/runtime/vm/object_graph.cc
@@ -634,6 +634,8 @@ intptr_t ObjectGraph::Serialize(WriteStream* stream,
stream->WriteUnsigned(kObjectAlignment);
stream->WriteUnsigned(kStackCid);
+ stream->WriteUnsigned(kFieldCid);
+ stream->WriteUnsigned(isolate()->class_table()->NumCids());
if (roots == kVM) {
// Write root "object".
« no previous file with comments | « runtime/observatory/tests/observatory_ui/mocks/objects/heap_snapshot.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698