Home
last modified time | relevance | path

Searched refs:snapshot (Results 1 – 23 of 23) sorted by relevance

/art/tools/ahat/test/
DObjectHandlerTest.java42 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()
DRootedHandlerTest.java26 AhatSnapshot snapshot = TestDump.getTestDump().getAhatSnapshot(); in noCrash() local
27 AhatHandler handler = new RootedHandler(snapshot); in noCrash()
DSiteHandlerTest.java26 AhatSnapshot snapshot = TestDump.getTestDump().getAhatSnapshot(); in noCrash() local
27 AhatHandler handler = new SiteHandler(snapshot); in noCrash()
DOverviewHandlerTest.java28 AhatSnapshot snapshot = TestDump.getTestDump().getAhatSnapshot(); in noCrash() local
29 AhatHandler handler = new OverviewHandler(snapshot, in noCrash()
DPerformanceTest.java44 AhatSnapshot snapshot = dump.getAhatSnapshot(); in bigArray() local
45 AhatHandler handler = new ObjectHandler(snapshot); in bigArray()
DTestDump.java118 private Value getDumpedValue(String name, AhatSnapshot snapshot) { in getDumpedValue() argument
119 AhatClassObj main = snapshot.findClass("Main"); in getDumpedValue()
DDiffTest.java127 AhatSnapshot snapshot = SnapshotBuilder.makeSnapshot(strings, records); in nullClassObj() local
130 Diff.snapshots(snapshot, snapshot); in nullClassObj()
DInstanceTest.java294 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/
DAhatSnapshot.java68 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 …]
DAhatClassObj.java37 @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()
DAhatInstance.java64 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()
DSort.java93 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()
DAhatArrayInstance.java40 @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()
DAhatClassInstance.java32 @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/
DDominatedList.java43 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()
DRootedHandler.java28 public RootedHandler(AhatSnapshot snapshot) { in RootedHandler() argument
29 mSnapshot = snapshot; in RootedHandler()
DSitePrinter.java27 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()
DBitmapHandler.java32 public BitmapHandler(AhatSnapshot snapshot) { in BitmapHandler() argument
33 mSnapshot = snapshot; in BitmapHandler()
DHeapTable.java64 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()
DObjectsHandler.java33 public ObjectsHandler(AhatSnapshot snapshot) { in ObjectsHandler() argument
34 mSnapshot = snapshot; in ObjectsHandler()
DOverviewHandler.java35 public OverviewHandler(AhatSnapshot snapshot, File hprof, File basehprof) { in OverviewHandler() argument
36 mSnapshot = snapshot; in OverviewHandler()
DSiteHandler.java35 public SiteHandler(AhatSnapshot snapshot) { in SiteHandler() argument
36 mSnapshot = snapshot; in SiteHandler()
DObjectHandler.java50 public ObjectHandler(AhatSnapshot snapshot) { in ObjectHandler() argument
51 mSnapshot = snapshot; in ObjectHandler()