Home
last modified time | relevance | path

Searched refs:ClassTable (Results 1 – 24 of 24) 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.h50 class ClassTable {
141 ClassTable();
273 void CopyWithoutLocks(const ClassTable& source_table) NO_THREAD_SAFETY_ANALYSIS;
Dclass_linker.h71 class ClassTable; variable
487 ClassTable* FindClassTable(Thread* self, ObjPtr<mirror::DexCache> dex_cache)
710 ClassTable* ClassTableForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
752 ClassTable* class_table;
774 ClassTable* class_table;
1202 ClassTable* InsertClassTableForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
1303 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.cc371 : boot_class_table_(new ClassTable()), in ClassLinker()
1270 ClassTable::ClassSet* new_class_set)
1280 ClassTable::ClassSet* new_class_set) in Update()
1307 auto it = new_class_set->Find(ClassTable::TableSlot(klass)); in Update()
1312 auto it2 = new_class_set->Find(ClassTable::TableSlot(super_class)); in Update()
1584 ClassTable* class_table, gc::space::ImageSpace* space) in VerifyAppImage()
1589 explicit VerifyClassInTableArtMethodVisitor(ClassTable* table) : table_(table) {} in VerifyAppImage()
1600 ClassTable* const table_; in VerifyAppImage()
1846 ClassTable* class_table = nullptr; in AddImageSpace()
1853 ClassTable::ClassSet temp_set; 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.cc61 ClassTable* class_table = runtime->GetClassLinker()->ClassTableForClassLoader(class_loader); in StoreObjectInBss()
/art/dex2oat/linker/
Dimage_writer.cc964 ClassTable* class_table = in Prune()
991 ClassTable* class_table = in Visit()
1154 [&](ClassTable* table) REQUIRES_SHARED(Locks::mutator_lock_) { in PruneNonImageClasses()
2145 ClassTable* table = image_info.class_table_.get(); in CopyAndFixupNativeData()
2151 ClassTable temp_class_table; in CopyAndFixupNativeData()
2828 class_table_(new ClassTable) {} in ImageInfo()
Dimage_writer.h366 std::unique_ptr<ClassTable> class_table_;
Doat_writer.cc4403 ClassTable::DescriptorHashPair pair(descriptor, ComputeModifiedUtf8Hash(descriptor)); in LookupBootImageClassTableSlot()
4404 ClassTable* table = Runtime::Current()->GetClassLinker()->boot_class_table_.get(); in LookupBootImageClassTableSlot()
4405 for (const ClassTable::ClassSet& class_set : table->classes_) { in LookupBootImageClassTableSlot()
/art/runtime/jit/
Dprofile_saver.cc340 ClassTable* table = class_linker->ClassTableForClassLoader(class_loader.Get()); in SampleClassesAndExecutedMethods()
/art/patchoat/
Dpatchoat.cc876 ClassTable temp_table; in PatchClassTable()
/art/openjdkjvmti/
Dti_class.cc985 art::ClassTable* class_table = class_linker->ClassTableForClassLoader(class_loader); in GetClassLoaderClasses()
/art/runtime/gc/space/
Dimage_space.cc1401 ClassTable temp_table; in RelocateInPlace()
/art/compiler/optimizing/
Dcode_generator_arm64.cc4903 int32_t masked_hash = ClassTable::TableSlot::MaskHash( in VisitLoadClass()
Dcode_generator_mips64.cc6125 int32_t masked_hash = ClassTable::TableSlot::MaskHash( in VisitLoadClass()
Dcode_generator_x86_64.cc5587 int32_t masked_hash = ClassTable::TableSlot::MaskHash( in VisitLoadClass()
Dcode_generator_x86.cc6178 int32_t masked_hash = ClassTable::TableSlot::MaskHash( in VisitLoadClass()
Dcode_generator_arm_vixl.cc7153 int32_t masked_hash = ClassTable::TableSlot::MaskHash( in VisitLoadClass()
Dcode_generator_mips.cc8079 int32_t masked_hash = ClassTable::TableSlot::MaskHash( in VisitLoadClass()