Home
last modified time | relevance | path

Searched refs:ClassTable (Results 1 – 16 of 16) sorted by relevance

/art/runtime/
Dclass_table.cc25 ClassTable::ClassTable() : lock_("Class loader classes", kClassLoaderClassesLock) { in ClassTable() function in art::ClassTable
31 void ClassTable::FreezeSnapshot() { in FreezeSnapshot()
36 ObjPtr<mirror::Class> ClassTable::UpdateClass(const char* descriptor, in UpdateClass()
63 size_t ClassTable::CountDefiningLoaderClasses(ObjPtr<mirror::ClassLoader> defining_loader, in CountDefiningLoaderClasses()
74 size_t ClassTable::NumZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const { in NumZygoteClasses()
83 size_t ClassTable::NumNonZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const { in NumNonZygoteClasses()
88 size_t ClassTable::NumReferencedZygoteClasses() const { in NumReferencedZygoteClasses()
97 size_t ClassTable::NumReferencedNonZygoteClasses() const { in NumReferencedNonZygoteClasses()
102 ObjPtr<mirror::Class> ClassTable::Lookup(const char* descriptor, size_t hash) { in Lookup()
114 void ClassTable::Insert(ObjPtr<mirror::Class> klass) { in Insert()
[all …]
Dclass_table-inl.h31 inline uint32_t ClassTable::ClassDescriptorHash::operator()(const TableSlot& slot) const { in operator()
38 inline uint32_t ClassTable::ClassDescriptorHash::operator()(const DescriptorHashPair& pair) const { in operator()
43 inline bool ClassTable::ClassDescriptorEquals::operator()(const TableSlot& a, in operator()
58 inline bool ClassTable::ClassDescriptorEquals::operator()(const TableSlot& a, in operator()
70 void ClassTable::VisitRoots(Visitor& visitor) { in VisitRoots()
88 void ClassTable::VisitRoots(const Visitor& visitor) { in VisitRoots()
106 bool ClassTable::Visit(Visitor& visitor) { in Visit()
119 bool ClassTable::Visit(const Visitor& visitor) { in Visit()
131 inline bool ClassTable::TableSlot::IsNull() const { in IsNull()
136 inline ObjPtr<mirror::Class> ClassTable::TableSlot::Read() const { in Read()
[all …]
Dclass_table_test.cc71 TEST_F(ClassTableTest, ClassTable) { in TEST_F() argument
84 ClassTable table; in TEST_F()
146 ClassTable::ClassSet temp_set; in TEST_F()
148 temp_set.insert(ClassTable::TableSlot(klass)); in TEST_F()
154 ClassTable table2; in TEST_F()
Dclass_table.h50 class ClassTable {
143 ClassTable();
Dclass_linker.h49 class ClassTable; variable
506 ClassTable* FindClassTable(Thread* self, ObjPtr<mirror::DexCache> dex_cache)
773 ClassTable* ClassTableForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
830 ClassTable* class_table;
879 ClassTable* class_table;
1258 ClassTable* InsertClassTableForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
1363 std::unique_ptr<ClassTable> boot_class_table_ GUARDED_BY(Locks::classlinker_classes_lock_);
Ddebug_print.cc80 ClassTable* table = Runtime::Current()->GetClassLinker()->ClassTableForClassLoader(loader); in DescribeLoaders()
Dclass_linker.cc614 : boot_class_table_(new ClassTable()), in ClassLinker()
1841 ClassTable* class_table, in VerifyAppImage()
2018 ClassTable* class_table = nullptr; in AddImageSpace()
2025 ClassTable::ClassSet temp_set; in AddImageSpace()
2031 temp_set = ClassTable::ClassSet(space->Begin() + class_table_section.Offset(), in AddImageSpace()
2044 for (const ClassTable::TableSlot& root : temp_set) { in AddImageSpace()
2071 for (const ClassTable::TableSlot& root : temp_set) { in AddImageSpace()
2192 ClassTable* const class_table = class_loader->GetClassTable(); in Visit()
2976 ClassTable* const class_table = InsertClassTableForClassLoader(class_loader.Get()); in FindClass()
3988 ClassTable* table; in RegisterExistingDexCache()
[all …]
/art/runtime/mirror/
Dclass_loader.h28 class ClassTable; variable
48 ClassTable* GetClassTable() REQUIRES_SHARED(Locks::mutator_lock_) { in GetClassTable()
49 return reinterpret_cast<ClassTable*>( in GetClassTable()
53 void SetClassTable(ClassTable* class_table) REQUIRES_SHARED(Locks::mutator_lock_) { in SetClassTable()
Dclass_loader-inl.h41 ClassTable* const class_table = GetClassTable<kVerifyFlags>(); in VisitReferences()
/art/test/164-resolution-trampoline-dex-cache/
Dinfo.txt3 associated ClassTable. This discrepancy then led to a crash when JITting.
/art/dex2oat/linker/
Dimage_writer.cc1068 ClassTable* class_table = in Prune()
1095 ClassTable* class_table = in Visit()
1168 [&](ClassTable* table) REQUIRES_SHARED(Locks::mutator_lock_) { in PruneNonImageClasses()
1610 ClassTable* app_class_table = image_writer->GetAppClassLoader()->GetClassTable(); in ProcessCollectedClasses()
1613 const ClassTable::ClassSet& app_class_set = app_class_table->classes_[0]; in ProcessCollectedClasses()
1616 for (const ClassTable::TableSlot& slot : app_class_set) { in ProcessCollectedClasses()
1631 image_info.class_table_buffer_.reset(new ClassTable::TableSlot[buffer_size]); in ProcessCollectedClasses()
1643 ClassTable::ClassSet& class_table = *image_writer->image_infos_[oat_index].class_table_; in ProcessCollectedClasses()
1644 uint32_t hash = ClassTable::TableSlot::HashDescriptor(klass); in ProcessCollectedClasses()
1645 bool inserted = class_table.InsertWithHash(ClassTable::TableSlot(klass, hash), hash).second; in ProcessCollectedClasses()
[all …]
Dimage_writer.h399 std::unique_ptr<ClassTable::ClassSet::value_type[]> class_table_buffer_;
400 std::optional<ClassTable::ClassSet> class_table_;
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc64 ClassTable* class_table = runtime->GetClassLinker()->ClassTableForClassLoader(class_loader); in StoreObjectInBss()
/art/runtime/gc/space/
Dimage_space.cc1240 ClassTable::ClassSet temp_set(data, /*make_copy_of_data=*/ false, &read_count); in RelocateInPlace()
1241 for (ClassTable::TableSlot& slot : temp_set) { in RelocateInPlace()
2611 ClassTable::ClassSet temp_set(data, /*make_copy_of_data=*/ false, &read_count); in DoRelocateSpaces()
2615 for (ClassTable::TableSlot& slot : temp_set) { in DoRelocateSpaces()
/art/runtime/jit/
Dprofile_saver.cc477 ClassTable* const table = in CollectInternal()
/art/openjdkjvmti/
Dti_class.cc995 art::ClassTable* class_table = class_linker->ClassTableForClassLoader(class_loader); in GetClassLoaderClasses()