Index: runtime/observatory/lib/src/service/object.dart |
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart |
index 0eee58f8a2ca4b30ab15fa6483da929c5693d639..e6825786f50c19d78f6a89c78e46cec34b9a391f 100644 |
--- a/runtime/observatory/lib/src/service/object.dart |
+++ b/runtime/observatory/lib/src/service/object.dart |
@@ -936,7 +936,7 @@ class HeapSnapshot { |
var result = []; |
for (ObjectVertex v in graph.getMostRetained(classId: classId, |
limit: limit)) { |
- result.add(isolate.getObjectByAddress(v.address.toRadixString(16)) |
+ result.add(isolate.getObjectByAddress(v.address) |
.then((ServiceObject obj) { |
if (obj is Instance) { |
// TODO(rmacnak): size/retainedSize are properties of all heap |