Home
last modified time | relevance | path

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

/art/test/003-omnibus-opcodes/src/
DInternedString.java31 WeakReference<String> strRef = new WeakReference<String>(s.intern()); in makeWeakString()
43 WeakReference strRef = new WeakReference<String>(CONST.intern()); in testImmortalInternedString()
47 Main.assertTrue(CONST == CONST.intern()); in testImmortalInternedString()
53 strRef = new WeakReference<String>(s.intern()); in testImmortalInternedString()
/art/test/596-app-images/src/
DMain.java62 String intern = tmp.intern(); in main() local
64 assertNotEqual(tmp, intern, "Dynamically constructed String, not interned."); in main()
65 assertEqual(intern, StaticInternString.intent, "Static encoded literal String not interned."); in main()
66 assertEqual(BootInternedString.boot, BootInternedString.boot.intern(), in main()
71 assertEqual(intern, f.get(null), "String Literals are not interned properly."); in main()
/art/test/016-intern/src/
DMain.java27 a = foo.concat(bar).intern(); in main()
28 b = foo.concat(bar).intern(); in main()
36 a = ("f" + foo.substring(1,3)).intern(); in main()
/art/test/626-set-resolved-string/
Dinfo.txt2 not strongly intern the given string, the JIT will ensure that the
/art/runtime/
Dintern_table-inl.h88 for (auto& intern : table.set_) { in VisitInterns()
89 visitor(intern); in VisitInterns()
Dintern_table.cc428 for (auto& intern : table.set_) { in VisitRoots() local
429 buffered_visitor.VisitRoot(intern); in VisitRoots()
/art/runtime/native/
Djava_lang_String.cc120 FAST_NATIVE_METHOD(String, intern, "()Ljava/lang/String;"),
/art/test/100-reflect2/
Dexpected.txt36 …oncat(java.lang.String), public native java.lang.String java.lang.String.intern(), public static j…