Home
last modified time | relevance | path

Searched refs:retained (Results 1 – 11 of 11) sorted by relevance

/art/tools/ahat/src/main/com/android/ahat/
DMain.java67 ProguardMap map, Progress progress, Reachability retained) { in loadHeapDump() argument
70 return new Parser(hprof).map(map).progress(progress).retained(retained).parse(); in loadHeapDump()
103 Reachability retained = Reachability.SOFT; in main() local
135 case "strong": retained = Reachability.STRONG; break; in main()
136 case "soft": retained = Reachability.SOFT; break; in main()
137 case "finalizer": retained = Reachability.FINALIZER; break; in main()
138 case "weak": retained = Reachability.WEAK; break; in main()
139 case "phantom": retained = Reachability.PHANTOM; break; in main()
140 case "unreachable": retained = Reachability.UNREACHABLE; break; in main()
176 AhatSnapshot ahat = loadHeapDump(hprof, map, new AsciiProgress(), retained); in main()
[all …]
DOverviewHandler.java33 public OverviewHandler(AhatSnapshot snapshot, File hprof, File basehprof, Reachability retained) { in OverviewHandler() argument
37 mRetained = retained; in OverviewHandler()
/art/tools/ahat/src/test/com/android/ahat/
DTestDump.java102 Reachability retained) { in TestDump() argument
106 mRetained = retained; in TestDump()
128 mSnapshot = new Parser(hprof).map(map).retained(mRetained).parse(); in load()
138 mBaseline = new Parser(hprofBase).map(map).retained(mRetained).parse(); in load()
267 Reachability retained) in getTestDump() argument
273 && Objects.equals(loaded.mRetained, retained)) { in getTestDump()
281 TestDump dump = new TestDump(hprof, base, map, retained); in getTestDump()
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatSnapshot.java45 Reachability retained) { in AhatSnapshot() argument
63 if (retained == Reachability.UNREACHABLE && inst.isUnreachable()) { in AhatSnapshot()
81 return node.getReferencesForDominators(retained); in AhatSnapshot()
97 mRootSite.prepareForUse(0, mHeaps.size(), retained); in AhatSnapshot()
DDominatorReferenceIterator.java32 public DominatorReferenceIterator(Reachability retained, Iterable<Reference> iter) { in DominatorReferenceIterator() argument
33 mRetained = retained; in DominatorReferenceIterator()
DSite.java208 long prepareForUse(long id, int numHeaps, Reachability retained) { in prepareForUse() argument
219 if (inst.getReachability().notWeakerThan(retained)) { in prepareForUse()
231 id = child.prepareForUse(id, numHeaps, retained); in prepareForUse()
DParser.java59 private Reachability retained = Reachability.SOFT; field in Parser
114 public Parser retained(Reachability retained) { in retained() method in Parser
115 this.retained = retained; in retained()
673 return new AhatSnapshot(superRoot, mInstances, heaps.heaps, rootSite, progress, retained); in parseInternal()
DAhatInstance.java797 Iterable<AhatInstance> getReferencesForDominators(Reachability retained) { in getReferencesForDominators() argument
798 return new DominatorReferenceIterator(retained, getReferences()); in getReferencesForDominators()
/art/test/922-properties/src/art/
DTest922.java37 Set<String> retained = new TreeSet<String>(recommendedProperties); in doTest() local
38 retained.retainAll(allProperties); in doTest()
39 if (!retained.equals(recommendedProperties)) { in doTest()
41 missing.removeAll(retained); in doTest()
/art/tools/ahat/
DREADME.txt16 --retained [strong | soft | finalizer | weak | phantom | unreachable]
17 The weakest reachability of instances to treat as retained.
61 Add --retained command line option to ahat.
/art/tools/ahat/etc/
Dahat_api.txt181 method public com.android.ahat.heapdump.Parser retained(com.android.ahat.heapdump.Reachability);