Home
last modified time | relevance | path

Searched refs:AhatHeap (Results 1 – 18 of 18) 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.java35 private List<AhatHeap> mHeaps;
41 List<AhatHeap> heaps, in AhatSnapshot()
60 for (AhatHeap heap : mHeaps) { in AhatSnapshot()
100 public AhatHeap getHeap(String name) { in getHeap()
103 for (AhatHeap heap : getHeaps()) { in getHeap()
119 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()
DAhatPlaceHolderInstance.java43 @Override public Size getRetainedSize(AhatHeap heap) { in getRetainedSize()
51 @Override public AhatHeap getHeap() { in getHeap()
DSite.java64 private Map<AhatHeap, Map<AhatClassObj, ObjectsInfo>> mObjectsInfoMap;
77 public AhatHeap heap;
100 ObjectsInfo(AhatHeap heap, AhatClassObj classObj) { in ObjectsInfo()
146 mObjectsInfoMap = new HashMap<AhatHeap, Map<AhatClassObj, ObjectsInfo>>(); in Site()
217 AhatHeap heap = inst.getHeap(); in prepareForUse()
249 public Size getSize(AhatHeap heap) { in getSize()
284 ObjectsInfo getObjectsInfo(AhatHeap heap, AhatClassObj classObj) { in getObjectsInfo()
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()
126 public Size getRetainedSize(AhatHeap heap) { in getRetainedSize()
203 public AhatHeap getHeap() { in getHeap()
DParser.java704 public List<AhatHeap> heaps = new ArrayList<AhatHeap>();
705 private AhatHeap current;
707 public AhatHeap getCurrentHeap() { in getCurrentHeap()
715 for (AhatHeap heap : heaps) { in setCurrentHeap()
722 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;
62 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()
DObjectHandler.java22 import com.android.ahat.heapdump.AhatHeap;
281 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;
33 AhatHeap a = dump.getAhatSnapshot().getHeap("app"); in diffMatchedHeap()
35 AhatHeap b = dump.getBaselineAhatSnapshot().getHeap("app"); in diffMatchedHeap()
DInstanceTest.java20 import com.android.ahat.heapdump.AhatHeap;
305 for (AhatHeap heap : snapshot.getHeaps()) { in retainedSize()
/art/tools/ahat/etc/
Dahat_api.txt48 public class AhatHeap implements com.android.ahat.heapdump.Diffable {
49 method public com.android.ahat.heapdump.AhatHeap getBaseline();
71 method public com.android.ahat.heapdump.AhatHeap getHeap();
78 … method public com.android.ahat.heapdump.Size getRetainedSize(com.android.ahat.heapdump.AhatHeap);
101 method public com.android.ahat.heapdump.AhatHeap getHeap(java.lang.String);
102 method public java.util.List<com.android.ahat.heapdump.AhatHeap> getHeaps();
204 method public com.android.ahat.heapdump.Size getSize(com.android.ahat.heapdump.AhatHeap);
214 field public com.android.ahat.heapdump.AhatHeap heap;