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()
48 mirror::Class* ClassTable::LookupByDescriptor(ObjPtr<mirror::Class> klass) { in LookupByDescriptor()
66 mirror::Class* ClassTable::UpdateClass(const char* descriptor, mirror::Class* klass, size_t hash) { in UpdateClass()
93 size_t ClassTable::CountDefiningLoaderClasses(ObjPtr<mirror::ClassLoader> defining_loader, in CountDefiningLoaderClasses()
104 size_t ClassTable::NumZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const { in NumZygoteClasses()
113 size_t ClassTable::NumNonZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const { in NumNonZygoteClasses()
118 size_t ClassTable::NumReferencedZygoteClasses() const { in NumReferencedZygoteClasses()
127 size_t ClassTable::NumReferencedNonZygoteClasses() const { in NumReferencedNonZygoteClasses()
[all …]
Dclass_table-inl.h28 void ClassTable::VisitRoots(Visitor& visitor) { in VisitRoots()
46 void ClassTable::VisitRoots(const Visitor& visitor) { in VisitRoots()
64 bool ClassTable::Visit(Visitor& visitor) { in Visit()
77 bool ClassTable::Visit(const Visitor& visitor) { in Visit()
90 inline mirror::Class* ClassTable::TableSlot::Read() const { in Read()
104 inline void ClassTable::TableSlot::VisitRoot(const Visitor& visitor) const { in VisitRoot()
117 inline ObjPtr<mirror::Class> ClassTable::TableSlot::ExtractPtr(uint32_t data) { in ExtractPtr()
121 inline uint32_t ClassTable::TableSlot::Encode(ObjPtr<mirror::Class> klass, uint32_t hash_bits) { in Encode()
126 inline ClassTable::TableSlot::TableSlot(ObjPtr<mirror::Class> klass, uint32_t descriptor_hash) in TableSlot()
136 inline void ClassTable::RemoveStrongRoots(const Filter& filter) { in RemoveStrongRoots()
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.h42 class ClassTable {
133 ClassTable();
265 void CopyWithoutLocks(const ClassTable& source_table) NO_THREAD_SAFETY_ANALYSIS;
Dclass_linker.h64 class ClassTable; variable
433 ClassTable* FindClassTable(Thread* self, ObjPtr<mirror::DexCache> dex_cache)
663 ClassTable* ClassTableForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
708 ClassTable* class_table;
730 ClassTable* class_table;
1146 ClassTable* InsertClassTableForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
1247 std::unique_ptr<ClassTable> boot_class_table_ GUARDED_BY(Locks::classlinker_classes_lock_);
Dclass_linker.cc360 : boot_class_table_(new ClassTable()), in ClassLinker()
1148 explicit VerifyClassInTableArtMethodVisitor(ClassTable* table) : table_(table) {} in VerifyClassInTableArtMethodVisitor()
1159 ClassTable* const table_;
1323 ClassTable::ClassSet* new_class_set,
1335 ClassTable::ClassSet* new_class_set, in Update()
1488 auto it = new_class_set->Find(ClassTable::TableSlot(klass)); in Update()
1493 auto it2 = new_class_set->Find(ClassTable::TableSlot(super_class)); in Update()
1964 ClassTable* class_table = nullptr; in AddImageSpace()
1971 ClassTable::ClassSet temp_set; in AddImageSpace()
1977 temp_set = ClassTable::ClassSet(space->Begin() + class_table_section.Offset(), in AddImageSpace()
[all …]
/art/runtime/mirror/
Dclass_loader.h28 class ClassTable; variable
47 ClassTable* GetClassTable() REQUIRES_SHARED(Locks::mutator_lock_) { in GetClassTable()
48 return reinterpret_cast<ClassTable*>( in GetClassTable()
52 void SetClassTable(ClassTable* class_table) REQUIRES_SHARED(Locks::mutator_lock_) { in SetClassTable()
Dclass_loader-inl.h36 ClassTable* const class_table = GetClassTable(); 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.cc44 ClassTable* class_table = in BssWriteBarrier()
/art/compiler/
Dimage_writer.cc962 ClassTable* class_table = in Prune()
989 ClassTable* class_table = in Visit()
1164 [&](ClassTable* table) REQUIRES_SHARED(Locks::mutator_lock_) { in PruneNonImageClasses()
2139 ClassTable* table = image_info.class_table_.get(); in CopyAndFixupNativeData()
2145 ClassTable temp_class_table; in CopyAndFixupNativeData()
2805 class_table_(new ClassTable) {} in ImageInfo()
Dimage_writer.h324 std::unique_ptr<ClassTable> class_table_;
/art/runtime/jit/
Dprofile_saver.cc326 ClassTable* table = class_linker->ClassTableForClassLoader(class_loader.Get()); in SampleClassesAndExecutedMethods()
/art/patchoat/
Dpatchoat.cc490 ClassTable temp_table; in PatchClassTable()
/art/runtime/openjdkjvmti/
Dti_class.cc940 art::ClassTable* class_table = class_linker->ClassTableForClassLoader(class_loader); in GetClassLoaderClasses()
/art/runtime/gc/space/
Dimage_space.cc1357 ClassTable temp_table; in RelocateInPlace()