Home | History | Annotate | Download | only in heapdump

Lines Matching refs:snapshot

28 import com.android.tools.perflib.heap.Snapshot;
68 AhatSnapshot snapshot = new AhatSnapshot(buffer, map);
75 return snapshot;
82 Snapshot snapshot = Snapshot.createSnapshot(buffer, map);
83 snapshot.computeDominators();
85 // Properly label the class of class objects in the perflib snapshot.
86 final ClassObj javaLangClass = snapshot.findClass("java.lang.Class");
88 for (Heap heap : snapshot.getHeaps()) {
99 Collection<Heap> heaps = snapshot.getHeaps();
101 // Note: mHeaps will not be in index order if snapshot.getHeaps does not
104 mHeaps.add(new AhatHeap(heap.getName(), snapshot.getHeapIndex(heap)));
136 Map<Instance, Long> registeredNative = Perflib.getRegisteredNativeAllocations(snapshot);
138 // Initialize ahat snapshot and instances based on the perflib snapshot
141 Instance inst = snapshot.findInstance(ahat.getId());
149 if (inst.getImmediateDominator() == Snapshot.SENTINEL_ROOT) {
168 for (RootObj root : snapshot.getGCRoots()) {
174 snapshot.dispose();
185 * Returns the instance with given id in this snapshot.
208 * Returns the AhatClassObj with given id in this snapshot.
241 * Returns a list of heaps in the snapshot in canonical order.
258 * Returns the root site for this snapshot.
292 * Returns true if this snapshot has been diffed against another, different
293 * snapshot.