Home
last modified time | relevance | path

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

/art/test/928-jni-table/
Dinfo.txt3 Tests that we can do basic things by replacing the JNIEnv vtable.
/art/test/587-inline-class-error/smali/
DVerifyError.smali26 # right initialization for the embedded vtable length of a
/art/runtime/mirror/
Dclass-inl.h330 ObjPtr<PointerArray> vtable = GetVTable<kVerifyFlags, kWithoutReadBarrier>(); in GetVTableLength() local
331 return vtable != nullptr ? vtable->GetLength() : 0; in GetVTableLength()
339 ObjPtr<PointerArray> vtable = GetVTable<kVerifyFlags, kReadBarrierOption>(); in GetVTableEntry() local
340 DCHECK(vtable != nullptr); in GetVTableEntry()
341 return vtable->GetElementPtrSize<ArtMethod*, kVerifyFlags>(i, pointer_size); in GetVTableEntry()
379 ObjPtr<PointerArray> vtable = GetVTableDuringLinking(); in SetEmbeddedVTableEntry() local
380 CHECK_EQ(method, vtable->GetElementPtrSize<ArtMethod*>(i, pointer_size)); in SetEmbeddedVTableEntry()
/art/test/978-virtual-interface/smali/
DIface.smali18 # // methods to ensure the 11'th target lines up to the same vtable slot as the
/art/runtime/
Dclass_linker.cc1908 ObjPtr<mirror::PointerArray> vtable = klass->GetVTable(); in CheckObjects() local
1909 if (vtable != nullptr) { in CheckObjects()
1910 ic.CheckArtMethodPointerArray(vtable, nullptr); in CheckObjects()
6556 MutableHandle<mirror::PointerArray> vtable; in LinkVirtualMethods() local
6558 vtable = hs.NewHandle(AllocPointerArray(self, max_count)); in LinkVirtualMethods()
6559 if (UNLIKELY(vtable == nullptr)) { in LinkVirtualMethods()
6564 vtable->SetElementPtrSize( in LinkVirtualMethods()
6573 klass->SetVTable(vtable.Get()); in LinkVirtualMethods()
6586 vtable = hs.NewHandle(ObjPtr<mirror::PointerArray>::DownCast( in LinkVirtualMethods()
6588 if (UNLIKELY(vtable == nullptr)) { in LinkVirtualMethods()
[all …]
/art/runtime/gc/space/
Dimage_space.cc1475 ObjPtr<mirror::PointerArray> vtable = in RelocateInPlace() local
1477 if (vtable != nullptr && in RelocateInPlace()
1478 app_image_objects.InDest(vtable.Ptr()) && in RelocateInPlace()
1479 !visited_bitmap.Set(vtable.Ptr())) { in RelocateInPlace()
1480 patch_object_visitor.VisitPointerArray(vtable); in RelocateInPlace()
2916 ObjPtr<mirror::PointerArray> vtable = in DoRelocateSpaces() local
2918 if ((kExtension ? simple_relocate_visitor.InDest(vtable.Ptr()) : vtable != nullptr) && in DoRelocateSpaces()
2919 !patched_objects->Set(vtable.Ptr())) { in DoRelocateSpaces()
2920 main_patch_object_visitor.VisitPointerArray(vtable); in DoRelocateSpaces()
/art/dex2oat/linker/
Dimage_writer.cc811 ObjPtr<mirror::PointerArray> vtable = klass->GetVTable(); in AssignImageBinSlot() local
812 if (vtable != nullptr) { in AssignImageBinSlot()
813 AddMethodPointerArray(vtable); in AssignImageBinSlot()