Searched refs:Site (Results 1 – 15 of 15) sorted by relevance
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | Sort.java | 157 private static class SiteByHeapSize implements Comparator<Site> { 170 public int compare(Site a, Site b) { in compare() 179 public static final Comparator<Site> SITE_BY_TOTAL_SIZE = new Comparator<Site>() { 181 public int compare(Site a, Site b) { 194 public static Comparator<Site> defaultSiteCompare(AhatSnapshot snapshot) { in defaultSiteCompare() 195 List<Comparator<Site>> comparators = new ArrayList<Comparator<Site>>(); in defaultSiteCompare() 205 return new WithPriority<Site>(comparators); in defaultSiteCompare() 214 public static final Comparator<Site.ObjectsInfo> OBJECTS_INFO_BY_SIZE 215 = new Comparator<Site.ObjectsInfo>() { 217 public int compare(Site.ObjectsInfo a, Site.ObjectsInfo b) { [all …]
|
D | Site.java | 33 public class Site implements Diffable<Site> { class 36 private Site mParent; 60 private List<Site> mChildren; 68 private Site mBaseline; 135 Site(String name) { in Site() method in Site 139 private Site(Site parent, String method, String signature, String file, int line) { in Site() method in Site 145 mChildren = new ArrayList<Site>(); in Site() 159 Site getSite(ProguardMap.Frame[] frames) { in getSite() 163 private static Site getSite(Site site, ProguardMap.Frame[] frames) { in getSite() 166 Site child = null; in getSite() [all …]
|
D | Diff.java | 250 private static void setSitesBaseline(Site root, Site baseline) { in setSitesBaseline() 252 for (Site child : root.getChildren()) { in setSitesBaseline() 265 private static void sites(Site a, Site b) { in sites() 272 for (Site.ObjectsInfo ainfo : a.getObjectsInfos()) { in sites() 279 for (Site.ObjectsInfo binfo : b.getObjectsInfos()) { in sites() 289 for (Site bchild : b.getChildren()) { in sites() 293 for (Site achild : a.getChildren()) { in sites() 295 for (Site bchild : b.getChildren()) { in sites() 313 for (Site bchild : b.getChildren()) { in sites()
|
D | AhatSnapshot.java | 29 private final Site mRootSite; 43 Site rootSite, in AhatSnapshot() 173 public Site getRootSite() { in getRootSite() 185 public Site getSite(long id) { in getSite() 186 Site site = mRootSite.findSite(id); in getSite()
|
D | Parser.java | 186 Site rootSite = new Site("ROOT"); in parseInternal() 197 DenseMap<Site> sites = new DenseMap<Site>("Stack Trace"); in parseInternal() 381 Site site = sites.get(stackSerialNumber); in parseInternal() 400 Site site = sites.get(stackSerialNumber); in parseInternal() 417 Site site = sites.get(stackSerialNumber); in parseInternal() 431 Site site = sites.get(stackSerialNumber); in parseInternal()
|
D | AhatInstance.java | 42 private Site mSite; 80 void initialize(AhatHeap heap, Site site, AhatClassObj classObj) { in initialize() 284 public Site getSite() { in getSite()
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | SitePrinter.java | 21 import com.android.ahat.heapdump.Site; 27 public static void printSite(AhatSnapshot snapshot, Doc doc, Query query, String id, Site site) { in printSite() 28 List<Site> path = new ArrayList<Site>(); in printSite() 29 for (Site parent = site; parent != null; parent = parent.getParent()) { in printSite() 35 HeapTable.TableConfig<Site> table = new HeapTable.TableConfig<Site>() { in printSite() 40 public long getSize(Site element, AhatHeap heap) { in printSite() 44 public List<HeapTable.ValueConfig<Site>> getValueConfigs() { in printSite() 45 HeapTable.ValueConfig<Site> value = new HeapTable.ValueConfig<Site>() { in printSite() 50 public DocString render(Site element) { in printSite()
|
D | SiteHandler.java | 21 import com.android.ahat.heapdump.Site; 43 Site site = mSnapshot.getSite(id); in handle() 52 List<Site> children = new ArrayList<Site>(site.getChildren()); in handle() 58 HeapTable.TableConfig<Site> table = new HeapTable.TableConfig<Site>() { in handle() 63 public long getSize(Site element, AhatHeap heap) { in handle() 67 public List<HeapTable.ValueConfig<Site>> getValueConfigs() { in handle() 68 HeapTable.ValueConfig<Site> value = new HeapTable.ValueConfig<Site>() { in handle() 73 public DocString render(Site element) { in handle() 90 List<Site.ObjectsInfo> infos = site.getObjectsInfos(); in handle() 91 Comparator<Site.ObjectsInfo> compare = Sort.withPriority( in handle() [all …]
|
D | ObjectsHandler.java | 22 import com.android.ahat.heapdump.Site; 51 Site site, String className, boolean subclass, String heapName) { in getObjects() 68 Site site = mSnapshot.getSite(id); in handle()
|
D | Summarizer.java | 22 import com.android.ahat.heapdump.Site; 152 public static DocString summarize(Site site) { in summarize()
|
D | ObjectHandler.java | 30 import com.android.ahat.heapdump.Site; 241 Site site = inst.getSite(); in printAllocationSite()
|
/art/tools/ahat/src/test/com/android/ahat/ |
D | SiteTest.java | 22 import com.android.ahat.heapdump.Site; 37 Site sKnownSite = oKnownSite.getSite(); in objectsAllocatedAtKnownSites() 44 Site sKnownSubSite = oKnownSubSite.getSite(); in objectsAllocatedAtKnownSites() 50 Site sKnownSubSiteParent = sKnownSubSite.getParent(); in objectsAllocatedAtKnownSites() 59 Site sKnownSiteParent = sKnownSite.getParent(); in objectsAllocatedAtKnownSites() 66 Site sObfSuperSite = oObfSuperSite.getSite(); in objectsAllocatedAtKnownSites() 73 Site sUnObfSuperSite = oUnObfSuperSite.getSite(); in objectsAllocatedAtKnownSites() 80 Site sOverriddenSite = oOverriddenSite.getSite(); in objectsAllocatedAtKnownSites() 110 Site siteStrong = refStrong.getSite(); in objectsInfos() 112 for (Site.ObjectsInfo info : siteStrong.getObjectsInfos()) { in objectsInfos() [all …]
|
D | ObjectsHandlerTest.java | 21 import com.android.ahat.heapdump.Site; 35 Site root = snapshot.getRootSite(); in getObjects()
|
D | TestDump.java | 27 import com.android.ahat.heapdump.Site; 199 Site root = snapshot.getRootSite(); in findClass()
|
/art/tools/ahat/etc/ |
D | ahat_api.txt | 95 method public com.android.ahat.heapdump.Site getSite(); 117 method public com.android.ahat.heapdump.Site getRootSite(); 119 method public com.android.ahat.heapdump.Site getSite(long); 224 public class Site implements com.android.ahat.heapdump.Diffable { 225 method public com.android.ahat.heapdump.Site findSite(long); 226 method public com.android.ahat.heapdump.Site getBaseline(); 227 method public java.util.List<com.android.ahat.heapdump.Site> getChildren(); 234 method public java.util.List<com.android.ahat.heapdump.Site.ObjectsInfo> getObjectsInfos(); 235 method public com.android.ahat.heapdump.Site getParent(); 242 public static class Site.ObjectsInfo implements com.android.ahat.heapdump.Diffable { [all …]
|