Lines Matching refs:Instance
21 import com.android.tools.perflib.heap.Instance;
49 // Map from Instance to the list of Instances it immediately dominates.
50 private final Map<Instance, List<Instance>> mDominated
51 = new HashMap<Instance, List<Instance>>();
54 private final List<Instance> mRooted = new ArrayList<Instance>();
59 private final Map<Instance, Collection<RootType>> mRoots
60 = new HashMap<Instance, Collection<RootType>>();
89 for (Instance inst : Iterables.concat(heap.getClasses(), heap.getInstances())) {
90 Instance dominator = inst.getImmediateDominator();
104 List<Instance> instances = mDominated.get(dominator);
106 instances = new ArrayList<Instance>();
135 Instance inst = root.getReferredInstance();
150 public Instance findInstance(long id) {
166 public List<Instance> getRooted() {
171 * Returns true if the given instance is a root.
173 public boolean isRoot(Instance inst) {
178 * Returns the list of root types for the given instance, or null if the
179 * instance is not a root.
181 public Collection<RootType> getRootTypes(Instance inst) {
196 public Site getSiteForInstance(Instance inst) {
211 * instance.
213 public List<Instance> getDominated(Instance inst) {
235 // Return the stack where the given instance was allocated.
236 private static StackTrace getStack(Instance inst) {