Home
last modified time | relevance | path

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

/art/runtime/
Dclass_table.cc24 ClassTable::ClassTable() : lock_("Class loader classes", kClassLoaderClassesLock) { in ClassTable() function in art::ClassTable
30 void ClassTable::FreezeSnapshot() { in FreezeSnapshot()
35 bool ClassTable::Contains(ObjPtr<mirror::Class> klass) { in Contains()
47 mirror::Class* ClassTable::LookupByDescriptor(ObjPtr<mirror::Class> klass) { in LookupByDescriptor()
65 mirror::Class* ClassTable::UpdateClass(const char* descriptor, mirror::Class* klass, size_t hash) { in UpdateClass()
92 size_t ClassTable::CountDefiningLoaderClasses(ObjPtr<mirror::ClassLoader> defining_loader, in CountDefiningLoaderClasses()
103 size_t ClassTable::NumZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const { in NumZygoteClasses()
112 size_t ClassTable::NumNonZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const { in NumNonZygoteClasses()
117 size_t ClassTable::NumReferencedZygoteClasses() const { in NumReferencedZygoteClasses()
126 size_t ClassTable::NumReferencedNonZygoteClasses() const { in NumReferencedNonZygoteClasses()
[all …]
Dclass_table-inl.h26 void ClassTable::VisitRoots(Visitor& visitor) { in VisitRoots()
44 void ClassTable::VisitRoots(const Visitor& visitor) { in VisitRoots()
62 bool ClassTable::Visit(Visitor& visitor) { in Visit()
75 bool ClassTable::Visit(const Visitor& visitor) { in Visit()
88 inline mirror::Class* ClassTable::TableSlot::Read() const { in Read()
102 inline void ClassTable::TableSlot::VisitRoot(const Visitor& visitor) const { in VisitRoot()
115 inline ObjPtr<mirror::Class> ClassTable::TableSlot::ExtractPtr(uint32_t data) { in ExtractPtr()
119 inline uint32_t ClassTable::TableSlot::Encode(ObjPtr<mirror::Class> klass, uint32_t hash_bits) { in Encode()
124 inline ClassTable::TableSlot::TableSlot(ObjPtr<mirror::Class> klass, uint32_t descriptor_hash) in TableSlot()
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.h43 class ClassTable {
134 ClassTable();
260 void CopyWithoutLocks(const ClassTable& source_table) NO_THREAD_SAFETY_ANALYSIS;
Dclass_linker.h425 ClassTable* FindClassTable(Thread* self, ObjPtr<mirror::DexCache> dex_cache)
643 ClassTable* ClassTableForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
675 ClassTable* class_table;
683 ClassTable* class_table;
1078 ClassTable* InsertClassTableForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
1119 ClassTable::ClassSet* new_class_set,
1174 ClassTable boot_class_table_ GUARDED_BY(Locks::classlinker_classes_lock_);
Dclass_linker.cc1136 explicit VerifyClassInTableArtMethodVisitor(ClassTable* table) : table_(table) {} in VerifyClassInTableArtMethodVisitor()
1147 ClassTable* const table_;
1229 ClassTable::ClassSet* new_class_set, in UpdateAppImageClassLoadersAndDexCaches()
1394 auto it = new_class_set->Find(ClassTable::TableSlot(klass)); in UpdateAppImageClassLoadersAndDexCaches()
1399 auto it2 = new_class_set->Find(ClassTable::TableSlot(super_class)); in UpdateAppImageClassLoadersAndDexCaches()
1858 ClassTable* class_table = nullptr; in AddImageSpace()
1865 ClassTable::ClassSet temp_set; in AddImageSpace()
1871 temp_set = ClassTable::ClassSet(space->Begin() + class_table_section.Offset(), in AddImageSpace()
1889 for (const ClassTable::TableSlot& root : temp_set) { in AddImageSpace()
1944 ClassTable* const class_table = ClassTableForClassLoader(klass->GetClassLoader()); in ClassInClassTable()
[all …]
/art/runtime/mirror/
Dclass_loader.h25 class ClassTable; variable
43 ClassTable* GetClassTable() REQUIRES_SHARED(Locks::mutator_lock_) { in GetClassTable()
44 return reinterpret_cast<ClassTable*>( in GetClassTable()
48 void SetClassTable(ClassTable* class_table) REQUIRES_SHARED(Locks::mutator_lock_) { in SetClassTable()
Dclass_loader-inl.h38 ClassTable* const class_table = GetClassTable(); in VisitReferences()
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc43 ClassTable* class_table = in BssWriteBarrier()
/art/compiler/driver/
Dcompiler_driver.h474 typedef SafeMap<const ClassReference, CompiledClass*> ClassTable; typedef
477 ClassTable compiled_classes_ GUARDED_BY(compiled_classes_lock_);
Dcompiler_driver.cc2695 ClassTable::const_iterator it = compiled_classes_.find(ref); in GetCompiledClass()
/art/compiler/
Dimage_writer.h60 class ClassTable; variable
331 std::unique_ptr<ClassTable> class_table_;
Dimage_writer.cc870 ClassTable* class_table = in Prune()
897 ClassTable* class_table = in Visit()
2011 ClassTable* table = image_info.class_table_.get(); in CopyAndFixupNativeData()
2017 ClassTable temp_class_table; in CopyAndFixupNativeData()
2675 class_table_(new ClassTable) {} in ImageInfo()
/art/patchoat/
Dpatchoat.cc477 ClassTable temp_table; in PatchClassTable()
/art/runtime/openjdkjvmti/
Dti_class.cc900 art::ClassTable* class_table = class_linker->ClassTableForClassLoader(class_loader); in GetClassLoaderClasses()
/art/runtime/gc/space/
Dimage_space.cc1335 ClassTable temp_table; in RelocateInPlace()