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

Unified Diff: runtime/observatory/lib/src/models/objects/heap_snapshot.dart

Issue 2480293003: Observatory: Add view of dominator tree with siblings merged by class. (Closed)
Patch Set: . Created 4 years, 1 month 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/lib/src/heap_snapshot/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/observatory/lib/src/models/objects/heap_snapshot.dart
diff --git a/runtime/observatory/lib/src/models/objects/heap_snapshot.dart b/runtime/observatory/lib/src/models/objects/heap_snapshot.dart
index 19392f9eb326f43a1878561cc7a1cec63b470dd1..ff4cefeccd9636a7fe9a63769f8408b9a4c299c3 100644
--- a/runtime/observatory/lib/src/models/objects/heap_snapshot.dart
+++ b/runtime/observatory/lib/src/models/objects/heap_snapshot.dart
@@ -10,6 +10,7 @@ abstract class HeapSnapshot {
int get references;
int get size;
HeapSnapshotDominatorNode get dominatorTree;
+ HeapSnapshotMergedDominatorNode get mergedDominatorTree;
Iterable<HeapSnapshotClassReferences> get classReferences;
}
@@ -20,6 +21,14 @@ abstract class HeapSnapshotDominatorNode {
Iterable<HeapSnapshotDominatorNode> get children;
}
+abstract class HeapSnapshotMergedDominatorNode {
+ int get instanceCount;
+ int get shallowSize;
+ int get retainedSize;
+ Future<ObjectRef> get klass;
+ Iterable<HeapSnapshotMergedDominatorNode> get children;
+}
+
abstract class HeapSnapshotClassReferences {
ClassRef get clazz;
int get instances;
« no previous file with comments | « runtime/observatory/lib/src/heap_snapshot/heap_snapshot.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698