Home
last modified time | relevance | path

Searched refs:TableSlot (Results 1 – 4 of 4) sorted by relevance

/art/runtime/
Dclass_table.h45 class TableSlot {
47 TableSlot() : data_(0u) {} in TableSlot() function
49 TableSlot(const TableSlot& copy) : data_(copy.data_.LoadRelaxed()) {} in TableSlot() function
51 explicit TableSlot(ObjPtr<mirror::Class> klass);
53 TableSlot(ObjPtr<mirror::Class> klass, uint32_t descriptor_hash);
55 TableSlot& operator=(const TableSlot& copy) {
104 uint32_t operator()(const TableSlot& slot) const NO_THREAD_SAFETY_ANALYSIS;
106 bool operator()(const TableSlot& a, const TableSlot& b) const
109 bool operator()(const TableSlot& a, const DescriptorHashPair& b) const
117 void MakeEmpty(TableSlot& item) const NO_THREAD_SAFETY_ANALYSIS { in MakeEmpty()
[all …]
Dclass_table-inl.h29 for (TableSlot& table_slot : class_set) { in VisitRoots()
47 for (TableSlot& table_slot : class_set) { in VisitRoots()
65 for (TableSlot& table_slot : class_set) { in Visit()
78 for (TableSlot& table_slot : class_set) { 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() function
Dclass_table.cc37 TableSlot slot(klass); in Contains()
49 TableSlot slot(klass); in LookupByDescriptor()
86 *existing_it = TableSlot(klass, hash); in UpdateClass()
95 for (const TableSlot& root : set) { in CountDefiningLoaderClasses()
144 TableSlot slot(klass); in TryInsert()
157 const uint32_t hash = TableSlot::HashDescriptor(klass); in Insert()
159 classes_.back().InsertWithHash(TableSlot(klass, hash), hash); in Insert()
169 for (const TableSlot& slot : class_set) { in CopyWithoutLocks()
176 const uint32_t hash = TableSlot::HashDescriptor(klass); in InsertWithoutLocks()
177 classes_.back().InsertWithHash(TableSlot(klass, hash), hash); in InsertWithoutLocks()
[all …]
Dclass_linker.cc1394 auto it = new_class_set->Find(ClassTable::TableSlot(klass)); in UpdateAppImageClassLoadersAndDexCaches()
1399 auto it2 = new_class_set->Find(ClassTable::TableSlot(super_class)); in UpdateAppImageClassLoadersAndDexCaches()
1889 for (const ClassTable::TableSlot& root : temp_set) { in AddImageSpace()