Home
last modified time | relevance | path

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

/art/test/003-omnibus-opcodes/src/
DInternedString.java31 WeakReference<String> strRef = new WeakReference<String>(s.intern()); in makeWeakString() local
32 return strRef; in makeWeakString()
36 WeakReference<String> strRef = makeWeakString(); in testDeadInternedString() local
39 Main.assertTrue(strRef.get() == null); in testDeadInternedString()
43 WeakReference strRef = new WeakReference<String>(CONST.intern()); in testImmortalInternedString() local
49 Main.assertTrue(strRef.get() != null); in testImmortalInternedString()
53 strRef = new WeakReference<String>(s.intern()); in testImmortalInternedString()
57 Main.assertTrue(strRef.get() == CONST); in testImmortalInternedString()