/art/tools/ahat/src/test/com/android/ahat/ |
D | RiTest.java | 20 import com.android.ahat.heapdump.Reachability; 30 TestDump.getTestDump("ri-test-dump.hprof", null, null, Reachability.STRONG); in loadRi() 36 TestDump dump = TestDump.getTestDump("ri-test-dump.hprof", null, null, Reachability.STRONG); in finalizable() 42 assertEquals(Reachability.FINALIZER, referent.getReachability()); in finalizable()
|
D | InstanceTest.java | 24 import com.android.ahat.heapdump.Reachability; 220 assertEquals(Reachability.SOFT, referent.getReachability()); in unreachableReferent() 235 assertEquals(Reachability.STRONG, strong1.getReachability()); in reachability() 236 assertEquals(Reachability.STRONG, soft1.getReachability()); in reachability() 237 assertEquals(Reachability.SOFT, strong2.getReachability()); in reachability() 238 assertEquals(Reachability.SOFT, weak1.getReachability()); in reachability() 239 assertEquals(Reachability.WEAK, soft2.getReachability()); in reachability() 240 assertEquals(Reachability.WEAK, phantom1.getReachability()); in reachability() 241 assertEquals(Reachability.PHANTOM, obj.getReachability()); in reachability() 343 Reachability.STRONG); in retainedSizeByRetained() [all …]
|
D | OverviewHandlerTest.java | 20 import com.android.ahat.heapdump.Reachability; 33 Reachability.SOFT); in noCrash()
|
D | TestDump.java | 26 import com.android.ahat.heapdump.Reachability; 58 private Reachability mRetained; 102 Reachability retained) { in TestDump() 250 Reachability.STRONG); in getTestDump() 267 Reachability retained) in getTestDump()
|
D | SiteTest.java | 21 import com.android.ahat.heapdump.Reachability; 107 Reachability.STRONG); in objectsInfos() 123 Reachability.SOFT); in objectsInfos()
|
D | DiffTest.java | 21 import com.android.ahat.heapdump.Reachability; 83 TestDump dump = TestDump.getTestDump("O.hprof", "L.hprof", null, Reachability.STRONG); in diffClassRemoved()
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | AhatInstance.java | 51 private Reachability mReachability = Reachability.UNREACHABLE; 162 public Reachability getReachability() { in getReachability() 174 return mReachability == Reachability.STRONG; in isStronglyReachable() 206 return mReachability == Reachability.UNREACHABLE; in isUnreachable() 429 if (ref.getReachability() == Reachability.STRONG && ref.getReferent() != this) { in getHardReverseReferences() 447 if (ref.getReachability() != Reachability.STRONG || ref.getReferent() == this) { in getSoftReverseReferences() 720 EnumMap<Reachability, Queue<Reference>> queues = new EnumMap<>(Reachability.class); in computeReachability() 721 for (Reachability reachability : Reachability.values()) { in computeReachability() 726 queues.get(Reachability.STRONG).add(ref); in computeReachability() 729 for (Reachability reachability : Reachability.values()) { in computeReachability() [all …]
|
D | Reachability.java | 25 public enum Reachability { enum 62 Reachability(String name) { in Reachability() method in Reachability 78 public boolean notWeakerThan(Reachability other) { in notWeakerThan()
|
D | AhatClassInstance.java | 406 private Reachability getJavaLangRefType() { in getJavaLangRefType() 410 case "java.lang.ref.PhantomReference": return Reachability.PHANTOM; in getJavaLangRefType() 411 case "java.lang.ref.WeakReference": return Reachability.WEAK; in getJavaLangRefType() 412 case "java.lang.ref.FinalizerReference": return Reachability.FINALIZER; in getJavaLangRefType() 413 case "java.lang.ref.Finalizer": return Reachability.FINALIZER; in getJavaLangRefType() 414 case "java.lang.ref.SoftReference": return Reachability.SOFT; in getJavaLangRefType() 418 return Reachability.STRONG; in getJavaLangRefType() 432 private final Reachability mJavaLangRefType = getJavaLangRefType(); 439 Reachability reachability = Reachability.STRONG; in hasNext() 440 if (mJavaLangRefType != Reachability.STRONG && "referent".equals(field.name)) { in hasNext()
|
D | Reference.java | 29 public final Reachability reachability; 31 public Reference(AhatInstance src, String field, AhatInstance ref, Reachability reachability) { in Reference()
|
D | DominatorReferenceIterator.java | 28 private final Reachability mRetained; 32 public DominatorReferenceIterator(Reachability retained, Iterable<Reference> iter) { in DominatorReferenceIterator()
|
D | AhatSnapshot.java | 45 Reachability retained) { in AhatSnapshot() 63 if (retained == Reachability.UNREACHABLE && inst.isUnreachable()) { in AhatSnapshot()
|
D | SuperRoot.java | 56 return new Reference(SuperRoot.this, field, mRoots.get(index), Reachability.STRONG); in getReferences()
|
D | AhatClassObj.java | 137 Reachability.STRONG); in getReferences()
|
D | AhatArrayInstance.java | 248 Reachability.STRONG); in getReferences()
|
D | Parser.java | 60 private Reachability retained = Reachability.SOFT; 115 public Parser retained(Reachability retained) { in retained()
|
D | Site.java | 208 long prepareForUse(long id, int numHeaps, Reachability retained) { in prepareForUse()
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | Main.java | 23 import com.android.ahat.heapdump.Reachability; 67 ProguardMap map, Progress progress, Reachability retained) { in loadHeapDump() 103 Reachability retained = Reachability.SOFT; in main() 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()
|
D | OverviewHandler.java | 21 import com.android.ahat.heapdump.Reachability; 31 private Reachability mRetained; 33 public OverviewHandler(AhatSnapshot snapshot, File hprof, File basehprof, Reachability retained) { in OverviewHandler()
|
D | Summarizer.java | 21 import com.android.ahat.heapdump.Reachability; 56 Reachability reachability = inst.getReachability(); in summarize() 57 if (reachability != Reachability.STRONG) { in summarize()
|
/art/tools/ahat/etc/ |
D | ahat_api.txt | 93 method public com.android.ahat.heapdump.Reachability getReachability(); 186 method public com.android.ahat.heapdump.Parser retained(com.android.ahat.heapdump.Reachability); 198 public enum Reachability { 199 method public boolean notWeakerThan(com.android.ahat.heapdump.Reachability); 201 enum_constant public static final com.android.ahat.heapdump.Reachability FINALIZER; 202 enum_constant public static final com.android.ahat.heapdump.Reachability PHANTOM; 203 enum_constant public static final com.android.ahat.heapdump.Reachability SOFT; 204 enum_constant public static final com.android.ahat.heapdump.Reachability STRONG; 205 enum_constant public static final com.android.ahat.heapdump.Reachability UNREACHABLE; 206 enum_constant public static final com.android.ahat.heapdump.Reachability WEAK;
|