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 bool ClassTable::Contains(ObjPtr<mirror::Class> klass) { in Contains()
40 ObjPtr<mirror::Class> ClassTable::LookupByDescriptor(ObjPtr<mirror::Class> klass) { in LookupByDescriptor()
52 ObjPtr<mirror::Class> ClassTable::UpdateClass(const char* descriptor, in UpdateClass()
79 size_t ClassTable::CountDefiningLoaderClasses(ObjPtr<mirror::ClassLoader> defining_loader, in CountDefiningLoaderClasses()
90 size_t ClassTable::NumZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const { in NumZygoteClasses()
99 size_t ClassTable::NumNonZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const { in NumNonZygoteClasses()
104 size_t ClassTable::NumReferencedZygoteClasses() const { in NumReferencedZygoteClasses()
113 size_t ClassTable::NumReferencedNonZygoteClasses() const { in NumReferencedNonZygoteClasses()
[all …]
Dclass_table-inl.h31 void ClassTable::VisitRoots(Visitor& visitor) { in VisitRoots()
49 void ClassTable::VisitRoots(const Visitor& visitor) { in VisitRoots()
67 bool ClassTable::Visit(Visitor& visitor) { in Visit()
80 bool ClassTable::Visit(const Visitor& visitor) { in Visit()
92 inline bool ClassTable::TableSlot::IsNull() const { in IsNull()
97 inline ObjPtr<mirror::Class> ClassTable::TableSlot::Read() const { in Read()
111 inline void ClassTable::TableSlot::VisitRoot(const Visitor& visitor) const { in VisitRoot()
124 inline ObjPtr<mirror::Class> ClassTable::TableSlot::ExtractPtr(uint32_t data) { in ExtractPtr()
128 inline uint32_t ClassTable::TableSlot::Encode(ObjPtr<mirror::Class> klass, uint32_t hash_bits) { in Encode()
133 inline ClassTable::TableSlot::TableSlot(ObjPtr<mirror::Class> klass, uint32_t descriptor_hash) in TableSlot()
[all …]
Dclass_table_test.cc71 TEST_F(ClassTableTest, ClassTable) { in TEST_F() argument
84 ClassTable table; in TEST_F()
152 ClassTable table2; in TEST_F()
Dclass_table.h50 class ClassTable {
139 ClassTable();
273 void CopyWithoutLocks(const ClassTable& source_table) NO_THREAD_SAFETY_ANALYSIS;
Ddebug_print.cc80 ClassTable* table = Runtime::Current()->GetClassLinker()->ClassTableForClassLoader(loader); in DescribeLoaders()
Dclass_linker.h49 class ClassTable; variable
496 ClassTable* FindClassTable(Thread* self, ObjPtr<mirror::DexCache> dex_cache)
762 ClassTable* ClassTableForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
819 ClassTable* class_table;
854 ClassTable* class_table;
1308 ClassTable* InsertClassTableForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
1413 std::unique_ptr<ClassTable> boot_class_table_ GUARDED_BY(Locks::classlinker_classes_lock_);
Dclass_linker.cc691 : boot_class_table_(new ClassTable()), in ClassLinker()
1647 ClassTable::ClassSet* new_class_set)
1660 ClassTable::ClassSet* new_class_set) in Update()
1701 auto it = new_class_set->find(ClassTable::TableSlot(klass)); in Update()
1707 auto it2 = new_class_set->find(ClassTable::TableSlot(super_class)); in Update()
2031 ClassTable* class_table, gc::space::ImageSpace* space) in VerifyAppImage()
2217 ClassTable* class_table = nullptr; in AddImageSpace()
2224 ClassTable::ClassSet temp_set; in AddImageSpace()
2230 temp_set = ClassTable::ClassSet(space->Begin() + class_table_section.Offset(), in AddImageSpace()
2243 for (const ClassTable::TableSlot& root : temp_set) { in AddImageSpace()
[all …]
/art/runtime/mirror/
Dclass_loader.h28 class ClassTable; variable
46 ClassTable* GetClassTable() REQUIRES_SHARED(Locks::mutator_lock_) { in GetClassTable()
47 return reinterpret_cast<ClassTable*>( in GetClassTable()
51 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/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc64 ClassTable* class_table = runtime->GetClassLinker()->ClassTableForClassLoader(class_loader); in StoreObjectInBss()
/art/dex2oat/linker/
Dimage_writer.h401 std::unique_ptr<ClassTable> class_table_;
Dimage_writer.cc1194 ClassTable* class_table = in Prune()
1221 ClassTable* class_table = in Visit()
1394 [&](ClassTable* table) REQUIRES_SHARED(Locks::mutator_lock_) { in PruneNonImageClasses()
2904 ClassTable* table = image_info.class_table_.get(); in CopyAndFixupNativeData()
2910 ClassTable temp_class_table; in CopyAndFixupNativeData()
3659 class_table_(new ClassTable) {} in ImageInfo()
/art/runtime/jit/
Dprofile_saver.cc364 ClassTable* table = class_linker->ClassTableForClassLoader(class_loader.Get()); in SampleClassesAndExecutedMethods()
/art/runtime/gc/space/
Dimage_space.cc1464 ClassTable::ClassSet temp_set(data, /*make_copy_of_data=*/ false, &read_count); in RelocateInPlace()
1465 for (ClassTable::TableSlot& slot : temp_set) { in RelocateInPlace()
2904 ClassTable::ClassSet temp_set(data, /*make_copy_of_data=*/ false, &read_count); in DoRelocateSpaces()
2908 for (ClassTable::TableSlot& slot : temp_set) { in DoRelocateSpaces()
/art/openjdkjvmti/
Dti_class.cc994 art::ClassTable* class_table = class_linker->ClassTableForClassLoader(class_loader); in GetClassLoaderClasses()