Lines Matching refs:wrefs
25 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()
55 wrefs[6] = new WeakReference(str6); in populate()
56 wrefs[7] = new WeakReference(str7); in populate()
57 wrefs[8] = new WeakReference(str8); in populate()
58 wrefs[9] = new WeakReference(str9); in populate()
65 static void check(WeakReference[] wrefs) { in check() argument
93 for (int i = 0; i < wrefs.length; i++) { in check()
94 if (wrefs[i].get() != null) in check()