Home
last modified time | relevance | path

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

/art/runtime/
Dintern_table_test.cc34 InternTable intern_table; in TEST_F() local
36 Handle<mirror::String> foo_1(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F()
37 Handle<mirror::String> foo_2(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F()
40 Handle<mirror::String> bar(hs.NewHandle(intern_table.InternStrong(3, "bar"))); in TEST_F()
204 InternTable intern_table; in TEST_F() local
206 Handle<mirror::String> foo(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F()
207 Handle<mirror::String> bar(hs.NewHandle(intern_table.InternStrong(3, "bar"))); in TEST_F()
208 Handle<mirror::String> foobar(hs.NewHandle(intern_table.InternStrong(6, "foobar"))); in TEST_F()
218 ObjPtr<mirror::String> lookup_foo = intern_table.LookupStrong(soa.Self(), 3, "foo"); in TEST_F()
220 ObjPtr<mirror::String> lookup_bar = intern_table.LookupStrong(soa.Self(), 3, "bar"); in TEST_F()
[all …]
Daot_class_linker.h32 explicit AotClassLinker(InternTable *intern_table);
Dtransaction.cc330 InternTable* const intern_table = Runtime::Current()->GetInternTable(); in UndoInternStringTableModifications() local
334 string_log.Undo(intern_table); in UndoInternStringTableModifications()
581 void Transaction::InternStringLog::Undo(InternTable* intern_table) const { in Undo()
582 DCHECK(intern_table != nullptr); in Undo()
587 intern_table->RemoveStrongFromTransaction(str_.Read()); in Undo()
590 intern_table->RemoveWeakFromTransaction(str_.Read()); in Undo()
601 intern_table->InsertStrongFromTransaction(str_.Read()); in Undo()
604 intern_table->InsertWeakFromTransaction(str_.Read()); in Undo()
Daot_class_linker.cc30 AotClassLinker::AotClassLinker(InternTable* intern_table) in AotClassLinker() argument
31 : ClassLinker(intern_table, /*fast_class_not_found_exceptions=*/ false) {} in AotClassLinker()
Dtransaction.h248 void Undo(InternTable* intern_table) const
Dclass_linker.cc690 ClassLinker::ClassLinker(InternTable* intern_table, bool fast_class_not_found_exceptions) in ClassLinker() argument
697 intern_table_(intern_table), in ClassLinker()
1763 InternTable* const intern_table = runtime->GetInternTable(); in HandleAppImageStrings() local
1774 const size_t non_boot_image_strings = intern_table->CountInterns( in HandleAppImageStrings()
1783 ObjPtr<mirror::String> existing = intern_table->LookupWeakLocked(string); in HandleAppImageStrings()
1785 existing = intern_table->LookupStrongLocked(string); in HandleAppImageStrings()
1795 intern_table->VisitInterns([&](const GcRoot<mirror::String>& root) in HandleAppImageStrings()
1810 CHECK(intern_table->LookupWeakLocked(string) == nullptr) << string->ToModifiedUtf8(); in HandleAppImageStrings()
1811 CHECK(intern_table->LookupStrongLocked(string) == nullptr) << string->ToModifiedUtf8(); in HandleAppImageStrings()
1815 intern_table->AddImageStringsToTable(space, func); in HandleAppImageStrings()
DAndroid.bp136 "intern_table.cc",
Dclass_linker.h150 explicit ClassLinker(InternTable* intern_table,
/art/dex2oat/linker/
Dimage_writer.cc1566 InternTable* intern_table = Runtime::Current()->GetInternTable(); in RecordNativeRelocations() local
1568 if (intern_table->LookupStrong(self, str) == str) { in RecordNativeRelocations()
2042 InternTable* const intern_table = runtime->GetInternTable(); in ProcessDexFileObjects() local
2047 ObjPtr<mirror::String> string = intern_table->LookupStrong(self, utf16_length, utf8_data); in ProcessDexFileObjects()
2465 InternTable* const intern_table = image_info.intern_table_.get(); in CalculateNewObjectOffsets() local
2466 CHECK_EQ(intern_table->WeakSize(), 0u) << " should have strong interned all the strings"; in CalculateNewObjectOffsets()
2467 if (intern_table->StrongSize() != 0u) { in CalculateNewObjectOffsets()
2468 image_info.intern_table_bytes_ = intern_table->WriteToMemory(nullptr); in CalculateNewObjectOffsets()
2874 InternTable* const intern_table = image_info.intern_table_.get(); in CopyAndFixupNativeData() local
2877 const size_t intern_table_bytes = intern_table->WriteToMemory(intern_table_memory_ptr); in CopyAndFixupNativeData()
[all …]
/art/dex2oat/
Ddex2oat_test.cc2396 InternTable intern_table; in TEST_F() local
2397 intern_table.AddImageStringsToTable(space.get(), [&](InternTable::UnorderedSet& interns) in TEST_F()
2446 intern_table.VisitInterns([&](const GcRoot<mirror::String>& root) in TEST_F()
2450 intern_table.VisitInterns([&](const GcRoot<mirror::String>& root) in TEST_F()