Home
last modified time | relevance | path

Searched refs:AhatHeap (Results 1 – 19 of 19) sorted by relevance

/art/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatHeap.java26 public class AhatHeap implements Diffable<AhatHeap> { class
30 private AhatHeap mBaseline;
33 AhatHeap(String name, int index) { in AhatHeap() method in AhatHeap
42 private AhatHeap(String name, AhatHeap baseline) { in AhatHeap() method in AhatHeap
53 static AhatHeap newPlaceHolderHeap(String name, AhatHeap baseline) { in newPlaceHolderHeap()
54 return new AhatHeap(name, baseline); in newPlaceHolderHeap()
88 void setBaseline(AhatHeap baseline) { in setBaseline()
93 public AhatHeap getBaseline() { in getBaseline()
DAhatSnapshot.java36 private List<AhatHeap> mHeaps;
42 List<AhatHeap> heaps, in AhatSnapshot()
93 for (AhatHeap heap : mHeaps) { in AhatSnapshot()
133 public AhatHeap getHeap(String name) { in getHeap()
136 for (AhatHeap heap : getHeaps()) { in getHeap()
152 public List<AhatHeap> getHeaps() { in getHeaps()
DSort.java66 private AhatHeap mHeap;
68 public InstanceByHeapRetainedSize(AhatHeap heap) { in InstanceByHeapRetainedSize()
141 AhatHeap appHeap = snapshot.getHeap("app"); in defaultInstanceCompare()
158 AhatHeap mHeap;
165 public SiteByHeapSize(AhatHeap heap) { in SiteByHeapSize()
198 AhatHeap appHeap = snapshot.getHeap("app"); in defaultSiteCompare()
DSite.java66 private Map<AhatHeap, Map<AhatClassObj, ObjectsInfo>> mObjectsInfoMap;
79 public AhatHeap heap;
102 ObjectsInfo(AhatHeap heap, AhatClassObj classObj) { in ObjectsInfo()
148 mObjectsInfoMap = new HashMap<AhatHeap, Map<AhatClassObj, ObjectsInfo>>(); in Site()
220 AhatHeap heap = inst.getHeap(); in prepareForUse()
252 public Size getSize(AhatHeap heap) { in getSize()
302 ObjectsInfo getObjectsInfo(AhatHeap heap, AhatClassObj classObj) { in getObjectsInfo()
DAhatPlaceHolderInstance.java43 @Override public Size getRetainedSize(AhatHeap heap) { in getRetainedSize()
51 @Override public AhatHeap getHeap() { in getHeap()
DAhatPlaceHolderClassObj.java36 @Override public Size getRetainedSize(AhatHeap heap) { in getRetainedSize()
44 @Override public AhatHeap getHeap() { in getHeap()
DDiff.java42 private static void heaps(List<AhatHeap> a, List<AhatHeap> b) { in heaps()
52 AhatHeap aheap = a.get(i); in heaps()
55 AhatHeap bheap = b.get(j); in heaps()
67 b.add(AhatHeap.newPlaceHolderHeap(aheap.getName(), aheap)); in heaps()
74 AhatHeap bheap = b.get(i); in heaps()
76 a.add(AhatHeap.newPlaceHolderHeap(bheap.getName(), bheap)); in heaps()
DAhatInstance.java40 private AhatHeap mHeap;
80 void initialize(AhatHeap heap, Site site, AhatClassObj classObj) { in initialize()
125 public Size getRetainedSize(AhatHeap heap) { in getRetainedSize()
214 public AhatHeap getHeap() { in getHeap()
DParser.java753 public List<AhatHeap> heaps = new ArrayList<AhatHeap>();
754 private AhatHeap current;
756 public AhatHeap getCurrentHeap() { in getCurrentHeap()
764 for (AhatHeap heap : heaps) { in setCurrentHeap()
771 current = new AhatHeap(name, heaps.size()); in setCurrentHeap()
/art/tools/ahat/src/main/com/android/ahat/
DHeapTable.java19 import com.android.ahat.heapdump.AhatHeap;
44 long getSize(T element, AhatHeap heap); in getSize()
56 List<AhatHeap> heaps = new ArrayList<AhatHeap>(); in render()
57 for (AhatHeap heap : snapshot.getHeaps()) { in render()
67 for (AhatHeap heap : heaps) { in render()
88 for (AhatHeap heap : heaps) { in render()
108 Map<AhatHeap, Long> summary = new HashMap<AhatHeap, Long>(); in render()
109 Map<AhatHeap, Long> basesummary = new HashMap<AhatHeap, Long>(); in render()
110 for (AhatHeap heap : heaps) { in render()
116 for (AhatHeap heap : heaps) { in render()
[all …]
DDominatedList.java19 import com.android.ahat.heapdump.AhatHeap;
57 public long getSize(AhatInstance element, AhatHeap heap) { in getSize()
DSitePrinter.java19 import com.android.ahat.heapdump.AhatHeap;
40 public long getSize(Site element, AhatHeap heap) { in printSite()
DOverviewHandler.java19 import com.android.ahat.heapdump.AhatHeap;
68 for (AhatHeap heap : mSnapshot.getHeaps()) { in printHeapSizes()
DSiteHandler.java19 import com.android.ahat.heapdump.AhatHeap;
63 public long getSize(Site element, AhatHeap heap) { in handle()
DObjectsHandler.java19 import com.android.ahat.heapdump.AhatHeap;
96 for (AhatHeap heap : mSnapshot.getHeaps()) { in handle()
DObjectHandler.java22 import com.android.ahat.heapdump.AhatHeap;
268 public long getSize(PathElement element, AhatHeap heap) { in printGcRootPath()
/art/tools/ahat/src/test/com/android/ahat/
DDiffTest.java19 import com.android.ahat.heapdump.AhatHeap;
35 AhatHeap a = dump.getAhatSnapshot().getHeap("app"); in diffMatchedHeap()
37 AhatHeap b = dump.getBaselineAhatSnapshot().getHeap("app"); in diffMatchedHeap()
DInstanceTest.java20 import com.android.ahat.heapdump.AhatHeap;
327 for (AhatHeap heap : snapshot.getHeaps()) { in retainedSize()
/art/tools/ahat/etc/
Dahat_api.txt59 public class AhatHeap implements com.android.ahat.heapdump.Diffable {
60 method public com.android.ahat.heapdump.AhatHeap getBaseline();
85 method public com.android.ahat.heapdump.AhatHeap getHeap();
92 … method public com.android.ahat.heapdump.Size getRetainedSize(com.android.ahat.heapdump.AhatHeap);
115 method public com.android.ahat.heapdump.AhatHeap getHeap(java.lang.String);
116 method public java.util.List<com.android.ahat.heapdump.AhatHeap> getHeaps();
237 method public com.android.ahat.heapdump.Size getSize(com.android.ahat.heapdump.AhatHeap);
247 field public com.android.ahat.heapdump.AhatHeap heap;