/art/tools/ahat/test/ |
D | ObjectHandlerTest.java | 42 AhatSnapshot snapshot = dump.getAhatSnapshot(); in noCrashClassObj() local 43 AhatHandler handler = new ObjectHandler(snapshot); in noCrashClassObj() 45 AhatInstance object = snapshot.findClass("Main"); in noCrashClassObj() 55 AhatSnapshot snapshot = dump.getAhatSnapshot(); in noCrashSystemClassObj() local 56 AhatHandler handler = new ObjectHandler(snapshot); in noCrashSystemClassObj() 58 AhatInstance object = snapshot.findClass("java.lang.String"); in noCrashSystemClassObj()
|
D | RootedHandlerTest.java | 26 AhatSnapshot snapshot = TestDump.getTestDump().getAhatSnapshot(); in noCrash() local 27 AhatHandler handler = new RootedHandler(snapshot); in noCrash()
|
D | SiteHandlerTest.java | 26 AhatSnapshot snapshot = TestDump.getTestDump().getAhatSnapshot(); in noCrash() local 27 AhatHandler handler = new SiteHandler(snapshot); in noCrash()
|
D | OverviewHandlerTest.java | 28 AhatSnapshot snapshot = TestDump.getTestDump().getAhatSnapshot(); in noCrash() local 29 AhatHandler handler = new OverviewHandler(snapshot, in noCrash()
|
D | PerformanceTest.java | 44 AhatSnapshot snapshot = dump.getAhatSnapshot(); in bigArray() local 45 AhatHandler handler = new ObjectHandler(snapshot); in bigArray()
|
D | TestDump.java | 118 private Value getDumpedValue(String name, AhatSnapshot snapshot) { in getDumpedValue() argument 119 AhatClassObj main = snapshot.findClass("Main"); in getDumpedValue()
|
D | DiffTest.java | 127 AhatSnapshot snapshot = SnapshotBuilder.makeSnapshot(strings, records); in nullClassObj() local 130 Diff.snapshots(snapshot, snapshot); in nullClassObj()
|
D | InstanceTest.java | 294 AhatSnapshot snapshot = dump.getAhatSnapshot(); in retainedSize() local 298 for (AhatHeap heap : snapshot.getHeaps()) { in retainedSize() 404 AhatSnapshot snapshot = SnapshotBuilder.makeSnapshot(strings, records); in asStringEmbedded() local 405 AhatInstance chars = snapshot.findInstance(0x41); in asStringEmbedded() 409 AhatInstance stringInstance = snapshot.findInstance(0x42); in asStringEmbedded()
|
/art/tools/ahat/src/heapdump/ |
D | AhatSnapshot.java | 68 AhatSnapshot snapshot = new AhatSnapshot(buffer, map); in fromDataBuffer() local 75 return snapshot; in fromDataBuffer() 82 Snapshot snapshot = Snapshot.createSnapshot(buffer, map); in AhatSnapshot() local 83 snapshot.computeDominators(); in AhatSnapshot() 87 final ClassObj javaLangClass = snapshot.findClass("java.lang.Class"); in AhatSnapshot() 89 for (Heap heap : snapshot.getHeaps()) { in AhatSnapshot() 100 Collection<Heap> heaps = snapshot.getHeaps(); in AhatSnapshot() 105 mHeaps.add(new AhatHeap(heap.getName(), snapshot.getHeapIndex(heap))); in AhatSnapshot() 140 Instance inst = snapshot.findInstance(ahat.getId()); in AhatSnapshot() 162 for (RootObj root : snapshot.getGCRoots()) { in AhatSnapshot() [all …]
|
D | AhatClassObj.java | 37 @Override void initialize(AhatSnapshot snapshot, Instance inst) { in initialize() argument 38 super.initialize(snapshot, inst); in initialize() 45 mSuperClassObj = snapshot.findClassObj(superClassObj.getId()); in initialize() 50 mClassLoader = snapshot.findInstance(loader.getId()); in initialize() 59 Value value = snapshot.getValue(field.getValue()); in initialize()
|
D | AhatInstance.java | 64 void initialize(AhatSnapshot snapshot, Instance inst) { in initialize() argument 70 List<AhatHeap> heaps = snapshot.getHeaps(); in initialize() 76 mHeap = snapshot.getHeap(inst.getHeap().getName()); in initialize() 82 mImmediateDominator = snapshot.findInstance(dom.getId()); in initialize() 88 mClassObj = snapshot.findClassObj(clsObj.getId()); in initialize() 101 AhatInstance ahat = snapshot.findInstance(ref.getId()); in initialize() 113 AhatInstance ahat = snapshot.findInstance(ref.getId()); in initialize()
|
D | Sort.java | 93 public static Comparator<AhatInstance> defaultInstanceCompare(AhatSnapshot snapshot) { in defaultInstanceCompare() argument 97 AhatHeap appHeap = snapshot.getHeap("app"); in defaultInstanceCompare() 137 public static Comparator<Site> defaultSiteCompare(AhatSnapshot snapshot) { in defaultSiteCompare() argument 141 AhatHeap appHeap = snapshot.getHeap("app"); in defaultSiteCompare()
|
D | AhatArrayInstance.java | 40 @Override void initialize(AhatSnapshot snapshot, Instance inst) { in initialize() argument 41 super.initialize(snapshot, inst); in initialize() 51 insts[i] = snapshot.findInstance(ref.getId()); in initialize()
|
D | AhatClassInstance.java | 32 @Override void initialize(AhatSnapshot snapshot, Instance inst) { in initialize() argument 33 super.initialize(snapshot, inst); in initialize() 42 Value value = snapshot.getValue(field.getValue()); in initialize()
|
/art/tools/ahat/src/ |
D | DominatedList.java | 43 public static void render(final AhatSnapshot snapshot, in render() argument 46 Collections.sort(insts, Sort.defaultInstanceCompare(snapshot)); in render() 47 HeapTable.render(doc, query, id, new TableConfig(), snapshot, insts); in render()
|
D | RootedHandler.java | 28 public RootedHandler(AhatSnapshot snapshot) { in RootedHandler() argument 29 mSnapshot = snapshot; in RootedHandler()
|
D | SitePrinter.java | 27 public static void printSite(AhatSnapshot snapshot, Doc doc, Query query, String id, Site site) { in printSite() argument 61 HeapTable.render(doc, query, id, table, snapshot, path); in printSite()
|
D | BitmapHandler.java | 32 public BitmapHandler(AhatSnapshot snapshot) { in BitmapHandler() argument 33 mSnapshot = snapshot; in BitmapHandler()
|
D | HeapTable.java | 64 TableConfig<T> config, AhatSnapshot snapshot, List<T> elements) { in render() argument 67 for (AhatHeap heap : snapshot.getHeaps()) { in render() 79 subcols.add(new Column("Δ", Column.Align.RIGHT, snapshot.isDiffed())); in render() 83 subcols.add(new Column("Δ", Column.Align.RIGHT, showTotal && snapshot.isDiffed())); in render()
|
D | ObjectsHandler.java | 33 public ObjectsHandler(AhatSnapshot snapshot) { in ObjectsHandler() argument 34 mSnapshot = snapshot; in ObjectsHandler()
|
D | OverviewHandler.java | 35 public OverviewHandler(AhatSnapshot snapshot, File hprof, File basehprof) { in OverviewHandler() argument 36 mSnapshot = snapshot; in OverviewHandler()
|
D | SiteHandler.java | 35 public SiteHandler(AhatSnapshot snapshot) { in SiteHandler() argument 36 mSnapshot = snapshot; in SiteHandler()
|
D | ObjectHandler.java | 50 public ObjectHandler(AhatSnapshot snapshot) { in ObjectHandler() argument 51 mSnapshot = snapshot; in ObjectHandler()
|