Annotate root objects and show their types.
The summaries for root objects are now prefixed with "(root)" to show
they are roots, and the object's root types are listed in the object
view.
Bug: 23784153
Change-Id: Ib52ccb59cf0e3f28ac754c6caa564ebef34866ea
diff --git a/tools/ahat/src/DominatedList.java b/tools/ahat/src/DominatedList.java
index 34a5665..7a673f5 100644
--- a/tools/ahat/src/DominatedList.java
+++ b/tools/ahat/src/DominatedList.java
@@ -71,7 +71,7 @@
}
public DocString render(Instance element) {
- return Value.render(element);
+ return Value.render(mSnapshot, element);
}
};
return Collections.singletonList(value);