Home | History | Annotate | Download | only in heapdump

Lines Matching refs:Instance

20 import com.android.tools.perflib.heap.Instance;
45 // If this instance is a root, mRootTypes contains a set of the root types.
46 // If this instance is not a root, mRootTypes is null.
49 // List of instances this instance immediately dominates.
60 * Initializes this AhatInstance based on the given perflib instance.
65 void initialize(AhatSnapshot snapshot, Instance inst) {
74 Instance dom = inst.getImmediateDominator();
96 for (Instance ref : inst.getHardReverseReferences()) {
105 List<Instance> refs = inst.getSoftReverseReferences();
108 for (Instance ref : refs) {
120 * Returns a unique identifier for the instance.
134 * Returns the number of bytes belonging to the given heap that this instance
146 * Returns the total number of bytes this instance retains.
173 * Returns the heap that this instance is allocated on.
180 * Returns true if this instance is marked as a root instance.
187 * Marks this instance as being a root of the given type.
207 * Returns the immediate dominator of this instance.
208 * Returns null if this is a root instance.
216 * instance.
223 * Returns the site where this instance was allocated.
230 * Sets the allocation site of this instance.
237 * Returns true if the given instance is a class object
254 * Returns the class object instance for the class of this object.
269 * Returns true if the given instance is an array instance
286 * Returns true if the given instance is a class instance
301 * Return the referent associated with this instance.
303 * Returns null if the instance has no referent associated with it.
325 * Returns the value of a field of an instance.
335 * Reads a reference field of this instance.
345 * that dex cache. Returns null if the given instance doesn't represent a
355 * Return the bitmap instance associated with this object, or null if there
364 * Read the string value from this instance.
372 // when an instance can be interpreted as a string.
377 * Reads the string value from an hprof Instance.
385 * Return the bitmap associated with the given instance, if any.
387 * Returns null if there is no bitmap associated with the given instance.
394 * Returns a sample path from a GC root to this instance.
395 * This instance is included as the last element of the path with an empty
403 elem = getNextPathElementToGcRoot(elem.instance)) {
404 if (elem.instance.equals(dom)) {
415 * Returns the next instance to GC root from this object and a string
416 * description of which field of that object refers to the given instance.
417 * Returns null if the given instance has no next instance to the gc root.
435 * hex id of the instance.
437 * square brackets, followed by '@' and the hex id of the instance.
442 * Read the byte[] value from an hprof Instance.
443 * Returns null if the instance is not a byte array.
462 * Returns a new place holder instance corresponding to this instance.
469 * Recursively compute the retained size of the given instance and all