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 …]
Dtransaction.cc331 InternTable* const intern_table = Runtime::Current()->GetInternTable(); in UndoInternStringTableModifications() local
335 string_log.Undo(intern_table); in UndoInternStringTableModifications()
582 void Transaction::InternStringLog::Undo(InternTable* intern_table) const { in Undo()
583 DCHECK(intern_table != nullptr); in Undo()
588 intern_table->RemoveStrongFromTransaction(str_.Read()); in Undo()
591 intern_table->RemoveWeakFromTransaction(str_.Read()); in Undo()
602 intern_table->InsertStrongFromTransaction(str_.Read()); in Undo()
605 intern_table->InsertWeakFromTransaction(str_.Read()); in Undo()
Daot_class_linker.h33 explicit AotClassLinker(InternTable *intern_table);
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.h247 void Undo(InternTable* intern_table) const
Dclass_linker.cc613 ClassLinker::ClassLinker(InternTable* intern_table, bool fast_class_not_found_exceptions) in ClassLinker() argument
620 intern_table_(intern_table), in ClassLinker()
1610 InternTable* const intern_table = runtime->GetInternTable(); in HandleAppImageStrings() local
1619 const size_t non_boot_image_strings = intern_table->CountInterns( in HandleAppImageStrings()
1628 ObjPtr<mirror::String> existing = intern_table->LookupWeakLocked(string); in HandleAppImageStrings()
1630 existing = intern_table->LookupStrongLocked(string); in HandleAppImageStrings()
1640 intern_table->VisitInterns([&](const GcRoot<mirror::String>& root) in HandleAppImageStrings()
1655 CHECK(intern_table->LookupWeakLocked(string) == nullptr) << string->ToModifiedUtf8(); in HandleAppImageStrings()
1656 CHECK(intern_table->LookupStrongLocked(string) == nullptr) << string->ToModifiedUtf8(); in HandleAppImageStrings()
1660 intern_table->AddImageStringsToTable(space, func); in HandleAppImageStrings()
DAndroid.bp140 "intern_table.cc",
Dclass_linker.h155 explicit ClassLinker(InternTable* intern_table,
/art/dex2oat/linker/
Dimage_writer.cc1944 InternTable* const intern_table = Runtime::Current()->GetInternTable(); in ProcessInterns() local
1946 DCHECK_EQ(std::count_if(intern_table->strong_interns_.tables_.begin(), in ProcessInterns()
1947 intern_table->strong_interns_.tables_.end(), in ProcessInterns()
1952 DCHECK(!intern_table->strong_interns_.tables_.back().IsBootImage()); in ProcessInterns()
1953 const InternTable::UnorderedSet& intern_set = intern_table->strong_interns_.tables_.back().set_; in ProcessInterns()
2803 const InternTable::UnorderedSet& intern_table = *image_info.intern_table_; in CopyAndFixupNativeData() local
2806 const size_t intern_table_bytes = intern_table.WriteToMemory(intern_table_memory_ptr); in CopyAndFixupNativeData()
2817 CHECK_EQ(temp_intern_table.Size(), intern_table.size()); in CopyAndFixupNativeData()
2824 CHECK_EQ(temp_intern_table.strong_interns_.tables_[0].Size(), intern_table.size()); in CopyAndFixupNativeData()
/art/dex2oat/
Ddex2oat_test.cc2131 InternTable intern_table; in TEST_F() local
2132 intern_table.AddImageStringsToTable(space.get(), [&](InternTable::UnorderedSet& interns) in TEST_F()
2155 intern_table.VisitInterns([&](const GcRoot<mirror::String>& root) in TEST_F()
2159 intern_table.VisitInterns([&](const GcRoot<mirror::String>& root) in TEST_F()