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

Unified Diff: runtime/observatory/lib/object_graph.dart

Issue 1272823006: Add timing prints to object group to get a baseline. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 | « no previous file | runtime/observatory/lib/src/elements/heap_snapshot.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/object_graph.dart
diff --git a/runtime/observatory/lib/object_graph.dart b/runtime/observatory/lib/object_graph.dart
index 60e720d3ac335b03181a376acfbd6369b4840625..0394d6d1d0474ab5660c3a16d15a1ab978b76f28 100644
--- a/runtime/observatory/lib/object_graph.dart
+++ b/runtime/observatory/lib/object_graph.dart
@@ -654,6 +654,8 @@ class ObjectGraph {
}
}
+ Logger.root.info("Start remap dominators");
+
// Reindex doms by id instead of post order index so we can throw away
// the post order arrays.
var domById = new Uint32List(N + 1);
@@ -661,6 +663,8 @@ class ObjectGraph {
domById[id] = postOrder[domByPOI[postOrderIndex[id]]];
}
+ Logger.root.info("End remap dominators");
+
domById[root] = 0;
_doms = domById;
« no previous file with comments | « no previous file | runtime/observatory/lib/src/elements/heap_snapshot.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698