Searched refs:vtable (Results 1 – 7 of 7) sorted by relevance
3 Tests that we can do basic things by replacing the JNIEnv vtable.
26 # right initialization for the embedded vtable length of a
330 ObjPtr<PointerArray> vtable = GetVTable<kVerifyFlags, kWithoutReadBarrier>(); in GetVTableLength() local331 return vtable != nullptr ? vtable->GetLength() : 0; in GetVTableLength()339 ObjPtr<PointerArray> vtable = GetVTable<kVerifyFlags, kReadBarrierOption>(); in GetVTableEntry() local340 DCHECK(vtable != nullptr); in GetVTableEntry()341 return vtable->GetElementPtrSize<ArtMethod*, kVerifyFlags>(i, pointer_size); in GetVTableEntry()379 ObjPtr<PointerArray> vtable = GetVTableDuringLinking(); in SetEmbeddedVTableEntry() local380 CHECK_EQ(method, vtable->GetElementPtrSize<ArtMethod*>(i, pointer_size)); in SetEmbeddedVTableEntry()
18 # // methods to ensure the 11'th target lines up to the same vtable slot as the
1908 ObjPtr<mirror::PointerArray> vtable = klass->GetVTable(); in CheckObjects() local1909 if (vtable != nullptr) { in CheckObjects()1910 ic.CheckArtMethodPointerArray(vtable, nullptr); in CheckObjects()6556 MutableHandle<mirror::PointerArray> vtable; in LinkVirtualMethods() local6558 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 …]
1475 ObjPtr<mirror::PointerArray> vtable = in RelocateInPlace() local1477 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() local2918 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()
811 ObjPtr<mirror::PointerArray> vtable = klass->GetVTable(); in AssignImageBinSlot() local812 if (vtable != nullptr) { in AssignImageBinSlot()813 AddMethodPointerArray(vtable); in AssignImageBinSlot()