Home
last modified time | relevance | path

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

/art/runtime/
Dintern_table.cc38 InternTable::InternTable() in InternTable() function in art::InternTable
44 size_t InternTable::Size() const { in Size()
49 size_t InternTable::StrongSize() const { in StrongSize()
54 size_t InternTable::WeakSize() const { in WeakSize()
59 void InternTable::DumpForSigQuit(std::ostream& os) const { in DumpForSigQuit()
63 void InternTable::VisitRoots(RootVisitor* visitor, VisitRootFlags flags) { in VisitRoots()
92 ObjPtr<mirror::String> InternTable::LookupWeak(Thread* self, ObjPtr<mirror::String> s) { in LookupWeak()
97 ObjPtr<mirror::String> InternTable::LookupStrong(Thread* self, ObjPtr<mirror::String> s) { in LookupStrong()
102 ObjPtr<mirror::String> InternTable::LookupStrong(Thread* self, in LookupStrong()
113 ObjPtr<mirror::String> InternTable::LookupWeakLocked(ObjPtr<mirror::String> s) { in LookupWeakLocked()
[all …]
Dintern_table-inl.h31 inline std::size_t InternTable::StringHash::operator()(const GcRoot<mirror::String>& root) const { in operator()
40 inline bool InternTable::StringEquals::operator()(const GcRoot<mirror::String>& a, in operator()
48 inline bool InternTable::StringEquals::operator()(const GcRoot<mirror::String>& a, in operator()
78 inline void InternTable::AddImageStringsToTable(gc::space::ImageSpace* image_space, in AddImageStringsToTable()
90 inline size_t InternTable::AddTableFromMemory(const uint8_t* ptr, in AddTableFromMemory()
108 inline void InternTable::Table::AddInternStrings(UnorderedSet&& intern_strings, in AddInternStrings()
126 inline void InternTable::VisitInterns(const Visitor& visitor, in VisitInterns()
147 inline size_t InternTable::CountInterns(bool visit_boot_images, in CountInterns()
Dintern_table_test.cc34 InternTable intern_table; in TEST_F()
56 InternTable t; in TEST_F()
75 InternTable t; in TEST_F()
81 for (InternTable::Table::InternalTable& table : t.strong_interns_.tables_) { in TEST_F()
116 InternTable t; in TEST_F()
151 InternTable t; in TEST_F()
162 InternTable t; in TEST_F()
177 InternTable t; in TEST_F()
190 InternTable t; in TEST_F()
204 InternTable intern_table; in TEST_F()
Dintern_table.h57 class InternTable {
112 InternTable();
238 friend class InternTable; variable
280 friend class InternTable; variable
343 DISALLOW_COPY_AND_ASSIGN(InternTable);
Daot_class_linker.h33 explicit AotClassLinker(InternTable *intern_table);
Dtransaction.h43 class InternTable; variable
247 void Undo(InternTable* intern_table) const
Daot_class_linker.cc30 AotClassLinker::AotClassLinker(InternTable* intern_table) in AotClassLinker()
Druntime.h96 class InternTable; variable
326 InternTable* GetInternTable() const { in GetInternTable()
1170 InternTable* intern_table_;
Dclass_linker.h55 class InternTable; variable
155 explicit ClassLinker(InternTable* intern_table,
622 InternTable* GetInternTable() const { in GetInternTable()
1398 InternTable* intern_table_;
Dtransaction.cc331 InternTable* const intern_table = Runtime::Current()->GetInternTable(); in UndoInternStringTableModifications()
582 void Transaction::InternStringLog::Undo(InternTable* intern_table) const { in Undo()
Dclass_linker.cc613 ClassLinker::ClassLinker(InternTable* intern_table, bool fast_class_not_found_exceptions) in ClassLinker()
1373 const InternTable::UnorderedSet& image_interns) in CountInternedStringReferencesVisitor()
1427 const InternTable::UnorderedSet& image_interns_;
1436 const InternTable::UnorderedSet& image_interns) in CountInternedStringReferences()
1514 InternTable::UnorderedSet image_interns; in VerifyInternedStringReferences()
1519 InternTable::UnorderedSet image_set(data, /*make_copy_of_data=*/ false, &read_count); in VerifyInternedStringReferences()
1610 InternTable* const intern_table = runtime->GetInternTable(); in HandleAppImageStrings()
1616 auto func = [&](InternTable::UnorderedSet& interns) in HandleAppImageStrings()
Druntime.cc1484 intern_table_ = new InternTable; in Init()
/art/runtime/gc/space/
Dimage_space_test.cc151 InternTable::Utf8String utf8_test_string(test_string_length, test_string, hash); in TEST_F()
158 InternTable::UnorderedSet temp_set(data, /*make_copy_of_data=*/ false, &read_count); in TEST_F()
Dimage_space.cc779 InternTable::UnorderedSet new_set(new_data, /*make_copy_of_data=*/ false, &new_read_count); in RemoveInternTableDuplicates()
785 InternTable::UnorderedSet old_set( in RemoveInternTableDuplicates()
814 static void RemoveDuplicates(const InternTable::UnorderedSet& old_set, in RemoveDuplicates()
815 /*inout*/InternTable::UnorderedSet* new_set, in RemoveDuplicates()
1343 InternTable temp_intern_table; in RelocateInPlace()
1347 [&](InternTable::UnorderedSet& strings) in RelocateInPlace()
2599 InternTable::UnorderedSet temp_set(data, /*make_copy_of_data=*/ false, &read_count); in DoRelocateSpaces()
/art/dex2oat/driver/
Dcompiler_driver.h68 class InternTable; variable
/art/dex2oat/linker/
Dimage_writer.cc1944 InternTable* const intern_table = Runtime::Current()->GetInternTable(); in ProcessInterns()
1948 [](const InternTable::Table::InternalTable& table) { in ProcessInterns()
1953 const InternTable::UnorderedSet& intern_set = intern_table->strong_interns_.tables_.back().set_; in ProcessInterns()
1968 InternTable::Utf8String utf8_string(utf16_length, utf8_data, hash); in ProcessInterns()
2064 InternTable::UnorderedSet& table = *image_info.intern_table_; in FinalizeInternTables()
2803 const InternTable::UnorderedSet& intern_table = *image_info.intern_table_; in CopyAndFixupNativeData()
2809 InternTable temp_intern_table; in CopyAndFixupNativeData()
Dimage_writer.h395 std::optional<InternTable::UnorderedSet> intern_table_;
/art/dex2oat/
Ddex2oat_test.cc2131 InternTable intern_table; in TEST_F()
2132 intern_table.AddImageStringsToTable(space.get(), [&](InternTable::UnorderedSet& interns) in TEST_F()