Home
last modified time | relevance | path

Searched refs:ImTable (Results 1 – 22 of 22) sorted by relevance

/art/runtime/
Dimtable-inl.h36 inline void ImTable::GetImtHashComponents(ArtMethod* method, in GetImtHashComponents()
85 inline uint32_t ImTable::GetImtIndex(ArtMethod* method) { in GetImtIndex()
91 return method->GetMethodIndex() & (ImTable::kSizeTruncToPowerOfTwo - 1); in GetImtIndex()
105 return mixed_hash % ImTable::kSize; in GetImtIndex()
Dimtable_test.cc94 CHECK_EQ(ImTable::GetImtIndex(methods.first), ImTable::GetImtIndex(methods.second)); in TEST_F()
101 CHECK_EQ(ImTable::GetImtIndex(methods.first), ImTable::GetImtIndex(methods.second)); in TEST_F()
Dimtable.h31 class ImTable {
Druntime_image.cc833 ImTable* im_table = reinterpret_cast<ImTable*>(im_tables_.data() + entry.second.second); in RelocateNativePointers()
843 void RelocateImTable(ImTable* im_table, const NativePointerVisitor& visitor) { in RelocateImTable()
844 for (size_t i = 0; i < ImTable::kSize; ++i) { in RelocateImTable()
988 ImTable* table = cls->GetImt(kRuntimePointerSize); in CopyImTable()
994 const size_t size = ImTable::SizeInBytes(kRuntimePointerSize); in CopyImTable()
Dart_method-inl.h789 return ImTable::GetImtIndex(this);
795 imt_index_ = ImTable::GetImtIndex(this);
Dclass_linker.cc2007 ImTable* imt = klass->GetImt(kPointerSize); in CheckObjects()
2008 for (size_t i = 0; i < ImTable::kSize; ++i) { in CheckObjects()
2823 ImTable* object_imt = java_lang_Object->GetImt(image_pointer_size_); in FinishArrayClassSetup()
6309 ArtMethod* imt_data[ImTable::kSize]; in LinkClass()
6326 ImTable* imt = nullptr; in LinkClass()
6334 ImTable* super_imt = klass->FindSuperImt(image_pointer_size_); in LinkClass()
6337 for (size_t i = 0; i < ImTable::kSize && imt_equals; ++i) { in LinkClass()
6347 imt = reinterpret_cast<ImTable*>( in LinkClass()
6349 ImTable::SizeInBytes(image_pointer_size_), in LinkClass()
6629 ImTable* imt = klass->GetImt(kRuntimePointerSize); in GetImtOwner()
[all …]
Dclass_linker_test.cc170 ImTable* imt = JavaLangObject->GetImt(pointer_size); in AssertObjectClass()
172 for (size_t i = 0; i < ImTable::kSize; ++i) { in AssertObjectClass()
241 ImTable* JavaLangObject_imt = JavaLangObject->GetImt(pointer_size); in AssertArrayClass()
/art/runtime/oat/
Dimage-inl.h92 ImTable* imt = reinterpret_cast<ImTable*>(base + section.Offset() + pos); in VisitPackedImTables()
93 for (size_t i = 0; i < ImTable::kSize; ++i) { in VisitPackedImTables()
100 pos += ImTable::SizeInBytes(pointer_size); in VisitPackedImTables()
/art/dex2oat/linker/
Dimage_writer.h71 class ImTable; variable
474 void CopyAndFixupImTable(ImTable* orig, ImTable* copy)
516 bool TryAssignImTableOffset(ImTable* imt, size_t oat_index) REQUIRES_SHARED(Locks::mutator_lock_);
Dimage_writer.cc1493 ImTable* imt = klass->GetImt(target_ptr_size_); in RecordNativeRelocations()
1497 for (size_t i = 0; i < ImTable::kSize; ++i) { in RecordNativeRelocations()
1514 bool ImageWriter::TryAssignImTableOffset(ImTable* imt, size_t oat_index) { in TryAssignImTableOffset()
1521 const size_t size = ImTable::SizeInBytes(target_ptr_size_); in TryAssignImTableOffset()
2932 void ImageWriter::CopyAndFixupImTable(ImTable* orig, ImTable* copy) { in CopyAndFixupImTable()
2933 for (size_t i = 0; i < ImTable::kSize; ++i) { in CopyAndFixupImTable()
3003 ImTable* orig_imt = reinterpret_cast<ImTable*>(pair.first); in CopyAndFixupNativeData()
3004 ImTable* dest_imt = reinterpret_cast<ImTable*>(dest); in CopyAndFixupNativeData()
/art/tools/cpp-define-generator/
Dart_method.def41 art::ImTable::kSizeTruncToPowerOfTwo - 1)
/art/runtime/mirror/
Dclass-inl.h354 inline ImTable* Class::GetImt(PointerSize pointer_size) { in GetImt()
355 return GetFieldPtrWithSize<ImTable*>(ImtPtrOffset(pointer_size), pointer_size); in GetImt()
358 inline void Class::SetImt(ImTable* imt, PointerSize pointer_size) { in SetImt()
1147 FixupNativePointer<ImTable*, kVerifyFlags>( in FixupNativePointers()
1223 inline ImTable* Class::FindSuperImt(PointerSize pointer_size) { in FindSuperImt()
Dclass.h58 class ImTable; variable
879 ImTable* GetImt(PointerSize pointer_size) REQUIRES_SHARED(Locks::mutator_lock_);
881 void SetImt(ImTable* imt, PointerSize pointer_size) REQUIRES_SHARED(Locks::mutator_lock_);
883 ImTable* FindSuperImt(PointerSize pointer_size) REQUIRES_SHARED(Locks::mutator_lock_);
1274 ImTable* imt,
Dclass.cc1645 ImTable* imt, in CopyClassVisitor()
1670 ImTable* imt_;
1678 ImTable* imt, in CopyOf()
/art/oatdump/
Doatdump.cc2804 ImTable* im_table = PrepareAndGetImTable(runtime, h_klass, pointer_size, &prepared); in DumpImtStats()
2812 for (size_t imt_index = 0; imt_index != ImTable::kSize; ++imt_index) { in DumpImtStats()
2899 static ImTable* PrepareAndGetImTable(Runtime* runtime, in PrepareAndGetImTable()
2931 ImTable* ret = PrepareAndGetImTable(runtime, h_klass, pointer_size, prepared); in PrepareAndGetImTable()
2936 static ImTable* PrepareAndGetImTable(Runtime* runtime, in PrepareAndGetImTable()
2952 ImTable* imt = PrepareAndGetImTable(runtime, in DumpIMTForClass()
2964 for (size_t index = 0; index < ImTable::kSize; ++index) { in DumpIMTForClass()
2989 ImTable::GetImtHashComponents(&iface_method, &class_hash, &name_hash, &signature_hash); in DumpIMTForClass()
2990 uint32_t imt_slot = ImTable::GetImtIndex(&iface_method); in DumpIMTForClass()
3011 ImTable* imt = PrepareAndGetImTable(runtime, in DumpIMTForMethod()
[all …]
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc2277 ImTable* imt = cls->GetImt(kRuntimePointerSize); in artInvokeInterfaceTrampoline()
/art/compiler/optimizing/
Dinstruction_builder.cc1004 DCHECK_EQ(*imt_or_vtable_index, ImTable::GetImtIndex(resolved_method)); in ResolveMethod()
Dcode_generator_arm64.cc4798 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface()
7152 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()
Dcode_generator_riscv64.cc3437 ImTable::OffsetOfElement(instruction->GetIndex(), kRiscv64PointerSize)); in VisitClassTableGet()
4166 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface()
Dcode_generator_x86_64.cc3230 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface()
5175 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()
Dcode_generator_x86.cc2936 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface()
5237 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()
Dcode_generator_arm_vixl.cc3758 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface()
10174 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet()