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()
60 mirror::Class* ClassTable::UpdateClass(const char* descriptor, mirror::Class* klass, size_t hash) { in UpdateClass()
85 size_t ClassTable::CountDefiningLoaderClasses(ObjPtr<mirror::ClassLoader> defining_loader, in CountDefiningLoaderClasses()
96 size_t ClassTable::NumZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const { in NumZygoteClasses()
105 size_t ClassTable::NumNonZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const { in NumNonZygoteClasses()
110 size_t ClassTable::NumReferencedZygoteClasses() const { in NumReferencedZygoteClasses()
119 size_t ClassTable::NumReferencedNonZygoteClasses() const { in NumReferencedNonZygoteClasses()
[all …]
Dclass_table-inl.h30 void ClassTable::VisitRoots(Visitor& visitor) { in VisitRoots()
48 void ClassTable::VisitRoots(const Visitor& visitor) { in VisitRoots()
66 bool ClassTable::Visit(Visitor& visitor) { in Visit()
79 bool ClassTable::Visit(const Visitor& visitor) { in Visit()
92 inline mirror::Class* ClassTable::TableSlot::Read() const { in Read()
106 inline void ClassTable::TableSlot::VisitRoot(const Visitor& visitor) const { in VisitRoot()
119 inline ObjPtr<mirror::Class> ClassTable::TableSlot::ExtractPtr(uint32_t data) { in ExtractPtr()
123 inline uint32_t ClassTable::TableSlot::Encode(ObjPtr<mirror::Class> klass, uint32_t hash_bits) { in Encode()
128 inline ClassTable::TableSlot::TableSlot(ObjPtr<mirror::Class> klass, uint32_t descriptor_hash) in TableSlot()
138 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.h80 class ClassTable; variable
468 ClassTable* FindClassTable(Thread* self, ObjPtr<mirror::DexCache> dex_cache)
702 ClassTable* ClassTableForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
744 ClassTable* class_table;
766 ClassTable* class_table;
1225 ClassTable* InsertClassTableForClassLoader(ObjPtr<mirror::ClassLoader> class_loader)
1344 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.cc407 : boot_class_table_(new ClassTable()), in ClassLinker()
1441 ClassTable::ClassSet* new_class_set)
1460 ClassTable::ClassSet* new_class_set) in Update()
1497 auto it = new_class_set->find(ClassTable::TableSlot(klass)); in Update()
1503 auto it2 = new_class_set->find(ClassTable::TableSlot(super_class)); in Update()
1943 ClassTable* class_table, gc::space::ImageSpace* space) in VerifyAppImage()
2171 ClassTable* class_table = nullptr; in AddImageSpace()
2178 ClassTable::ClassSet temp_set; in AddImageSpace()
2184 temp_set = ClassTable::ClassSet(space->Begin() + class_table_section.Offset(), in AddImageSpace()
2197 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.cc61 ClassTable* class_table = runtime->GetClassLinker()->ClassTableForClassLoader(class_loader); in StoreObjectInBss()
/art/runtime/gc/space/
Dimage_space.cc1229 ClassTable::ClassSet temp_set(data, /*make_copy_of_data=*/ false, &read_count); in RelocateInPlace()
1230 for (ClassTable::TableSlot& slot : temp_set) { in RelocateInPlace()
1623 ClassTable::ClassSet temp_set(data, /*make_copy_of_data=*/ false, &read_count); in DoRelocateSpaces()
1626 for (ClassTable::TableSlot& slot : temp_set) { in DoRelocateSpaces()
/art/dex2oat/linker/
Dimage_writer.cc1524 ClassTable* class_table = in Prune()
1551 ClassTable* class_table = in Visit()
1759 [&](ClassTable* table) REQUIRES_SHARED(Locks::mutator_lock_) { in PruneNonImageClasses()
2920 ClassTable* table = image_info.class_table_.get(); in CopyAndFixupNativeData()
2926 ClassTable temp_class_table; in CopyAndFixupNativeData()
3646 class_table_(new ClassTable) {} in ImageInfo()
Dimage_writer.h397 std::unique_ptr<ClassTable> class_table_;
/art/runtime/jit/
Dprofile_saver.cc358 ClassTable* table = class_linker->ClassTableForClassLoader(class_loader.Get()); in SampleClassesAndExecutedMethods()
/art/openjdkjvmti/
Dti_class.cc989 art::ClassTable* class_table = class_linker->ClassTableForClassLoader(class_loader); in GetClassLoaderClasses()