Home
last modified time | relevance | path

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

/art/runtime/
Dclass_table-inl.h31 inline uint32_t ClassTable::ClassDescriptorHash::operator()(const TableSlot& slot) const { in operator()
43 inline bool ClassTable::ClassDescriptorEquals::operator()(const TableSlot& a, in operator()
44 const TableSlot& b) const { in operator()
58 inline bool ClassTable::ClassDescriptorEquals::operator()(const TableSlot& a, in operator()
73 for (TableSlot& table_slot : class_set) { in VisitRoots()
91 for (TableSlot& table_slot : class_set) { in VisitRoots()
109 for (TableSlot& table_slot : class_set) { in Visit()
122 for (TableSlot& table_slot : class_set) { in Visit()
131 inline bool ClassTable::TableSlot::IsNull() const { in IsNull()
136 inline ObjPtr<mirror::Class> ClassTable::TableSlot::Read() const { in Read()
[all …]
Dclass_table.h52 class TableSlot {
54 TableSlot() : data_(0u) {} in TableSlot() function
56 TableSlot(const TableSlot& copy) : data_(copy.data_.load(std::memory_order_relaxed)) {} in TableSlot() function
58 explicit TableSlot(ObjPtr<mirror::Class> klass);
60 TableSlot(ObjPtr<mirror::Class> klass, uint32_t descriptor_hash);
62 TableSlot& operator=(const TableSlot& copy) {
109 uint32_t operator()(const TableSlot& slot) const NO_THREAD_SAFETY_ANALYSIS;
117 bool operator()(const TableSlot& a, const TableSlot& b) const
120 bool operator()(const TableSlot& a, const DescriptorHashPair& b) const
126 void MakeEmpty(TableSlot& item) const NO_THREAD_SAFETY_ANALYSIS { in MakeEmpty()
[all …]
Dclass_table.cc59 *existing_it = TableSlot(klass, hash); in UpdateClass()
66 for (const TableSlot& root : set) { in CountDefiningLoaderClasses()
115 InsertWithHash(klass, TableSlot::HashDescriptor(klass)); in Insert()
120 classes_.back().InsertWithHash(TableSlot(klass, hash), hash); in InsertWithHash()
188 ClassTable::TableSlot::TableSlot(ObjPtr<mirror::Class> klass) in TableSlot() function in art::ClassTable::TableSlot
189 : TableSlot(klass, HashDescriptor(klass)) {} in TableSlot()
191 uint32_t ClassTable::TableSlot::HashDescriptor(ObjPtr<mirror::Class> klass) { in HashDescriptor()
Dclass_table_test.cc148 temp_set.insert(ClassTable::TableSlot(klass)); in TEST_F()
Dclass_linker.cc2044 for (const ClassTable::TableSlot& root : temp_set) { in AddImageSpace()
2071 for (const ClassTable::TableSlot& root : temp_set) { in AddImageSpace()
/art/dex2oat/linker/
Dimage_writer.cc1616 for (const ClassTable::TableSlot& slot : app_class_set) { in ProcessCollectedClasses()
1631 image_info.class_table_buffer_.reset(new ClassTable::TableSlot[buffer_size]); in ProcessCollectedClasses()
1644 uint32_t hash = ClassTable::TableSlot::HashDescriptor(klass); in ProcessCollectedClasses()
1645 bool inserted = class_table.InsertWithHash(ClassTable::TableSlot(klass, hash), hash).second; in ProcessCollectedClasses()
1660 uint32_t hash = ClassTable::TableSlot::HashDescriptor(klass); in ProcessCollectedClasses()
1661 bool inserted = table.InsertWithHash(ClassTable::TableSlot(klass, hash), hash).second; in ProcessCollectedClasses()
2983 for (const ClassTable::TableSlot slot : *image_info.class_table_) { in CopyAndFixupObjects()
/art/runtime/gc/space/
Dimage_space.cc1241 for (ClassTable::TableSlot& slot : temp_set) { in RelocateInPlace()
2615 for (ClassTable::TableSlot& slot : temp_set) { in DoRelocateSpaces()