Home
last modified time | relevance | path

Searched refs:wrefs (Results 1 – 2 of 2) sorted by relevance

/art/test/072-precise-gc/src/
DMain.java25 WeakReference wrefs[] = new WeakReference[10]; in staleStackTest() local
27 populate(wrefs); in staleStackTest()
29 check(wrefs); in staleStackTest()
32 static void populate(WeakReference[] wrefs) { in populate() argument
49 wrefs[0] = new WeakReference(str0); in populate()
50 wrefs[1] = new WeakReference(str1); in populate()
51 wrefs[2] = new WeakReference(str2); in populate()
52 wrefs[3] = new WeakReference(str3); in populate()
53 wrefs[4] = new WeakReference(str4); in populate()
54 wrefs[5] = new WeakReference(str5); in populate()
[all …]
/art/test/072-reachability-fence/src/
DMain.java23 WeakReference wrefs[] = new WeakReference[5]; in main() local
29 wrefs[0] = new WeakReference(str0); in main()
30 wrefs[1] = new WeakReference(str1); in main()
31 wrefs[2] = new WeakReference(str2); in main()
32 wrefs[3] = new WeakReference(str3); in main()
33 wrefs[4] = new WeakReference(str4); in main()
46 if (wrefs[i].get() != null) { in main()