Home
last modified time | relevance | path

Searched refs:intern (Results 1 – 5 of 5) 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/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/runtime/
Dintern_table.cc331 for (auto& intern : pre_zygote_table_) { in VisitRoots() local
332 intern.VisitRoot(callback, arg, RootInfo(kRootInternedString)); in VisitRoots()
334 for (auto& intern : post_zygote_table_) { in VisitRoots() local
335 intern.VisitRoot(callback, arg, RootInfo(kRootInternedString)); in VisitRoots()
/art/runtime/native/
Djava_lang_String.cc56 NATIVE_METHOD(String, intern, "!()Ljava/lang/String;"),
/art/test/100-reflect2/
Dexpected.txt36 …f(java.lang.String,int), public native java.lang.String java.lang.String.intern(), public boolean …