Home
last modified time | relevance | path

Searched refs:weak (Results 1 – 9 of 9) sorted by relevance

/art/test/074-gc-thrash/src/
DMain.java201 private static WeakReference weak[] = new WeakReference[MAX_DEPTH]; field in Deep
231 if (weak[i].get() != null) { in run()
253 if (strong[i] != weak[i].get()) { in checkStringReferences()
255 ", weak=" + weak[i].get()); in checkStringReferences()
304 weak[depth] = new WeakReference(funStr); in dive()
/art/benchmark/jobject-benchmark/
Dinfo.txt7 Decoding local, weak, global, handle scope jobjects.
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatInstance.java611 Queue<Reference> weak = new ArrayDeque<Reference>(); in computeReverseReferences() local
631 weak.add(childRef); in computeReverseReferences()
644 while (!weak.isEmpty()) { in computeReverseReferences()
645 Reference ref = weak.poll(); in computeReverseReferences()
654 weak.add(childRef); in computeReverseReferences()
/art/test/903-hello-tagging/src/art/
DTest903.java31 WeakReference<Object> weak = test(); in doTest() local
36 if (weak.get() != null) { in doTest()
/art/runtime/
Dintern_table.cc254 ObjPtr<mirror::String> weak = LookupWeakLocked(s); in Insert() local
255 if (weak != nullptr) { in Insert()
258 RemoveWeak(weak); in Insert()
259 return InsertStrong(weak); in Insert()
261 return weak; in Insert()
/art/runtime/jdwp/
Dobject_registry.cc235 jobject weak = entry.jni_reference; in Promote() local
238 env->DeleteWeakGlobalRef(weak); in Promote()
/art/tools/ahat/src/test/com/android/ahat/
DInstanceTest.java416 AhatInstance weak = dump.getDumpedAhatInstance("aWeakReference"); in reverseReferences() local
418 assertFalse(obj.getHardReverseReferences().contains(weak)); in reverseReferences()
420 assertTrue(obj.getSoftReverseReferences().contains(weak)); in reverseReferences()
/art/tools/ahat/
DREADME.txt73 Don't include weak references in sample paths.
/art/tools/
Dlibcore_failures.txt152 description: "Non-deterministic test because of a dependency on weak ref collection.",