/art/runtime/entrypoints/jni/ |
D | jni_entrypoints.cc | 62 ArtMethod* target_method = class_linker->ResolveMethod<ClassLinker::ResolveMode::kNoChecks>( in artFindNativeMethodRunnable() local 64 if (target_method == nullptr) { in artFindNativeMethodRunnable() 68 DCHECK(target_method->IsCriticalNative()); in artFindNativeMethodRunnable() 72 MaybeUpdateBssMethodEntry(target_method, MethodReference(method->GetDexFile(), method_idx)); in artFindNativeMethodRunnable() 76 DCHECK(NeedsClinitCheckBeforeCall(target_method)); in artFindNativeMethodRunnable() 77 ObjPtr<mirror::Class> declaring_class = target_method->GetDeclaringClass(); in artFindNativeMethodRunnable() 91 *sp = target_method; in artFindNativeMethodRunnable() 95 method = target_method; in artFindNativeMethodRunnable()
|
/art/compiler/optimizing/ |
D | critical_native_abi_fixup_arm.cc | 53 MethodReference target_method(nullptr, 0); in FixUpArguments() local 56 target_method = in FixUpArguments() 76 target_method, in FixUpArguments()
|
D | code_generator_arm64.h | 744 vixl::aarch64::Label* NewBootImageMethodPatch(MethodReference target_method, 751 vixl::aarch64::Label* NewMethodBssEntryPatch(MethodReference target_method, 789 vixl::aarch64::Label* NewBootImageJniEntrypointPatch(MethodReference target_method,
|
D | code_generator_arm_vixl.h | 617 PcRelativePatchInfo* NewBootImageMethodPatch(MethodReference target_method); 618 PcRelativePatchInfo* NewMethodBssEntryPatch(MethodReference target_method);
|
D | code_generator_arm64.cc | 4810 MethodReference target_method, in NewBootImageMethodPatch() argument 4813 target_method.dex_file, target_method.index, adrp_label, &boot_image_method_patches_); in NewBootImageMethodPatch() 4817 MethodReference target_method, in NewMethodBssEntryPatch() argument 4820 target_method.dex_file, target_method.index, adrp_label, &method_bss_entry_patches_); in NewMethodBssEntryPatch() 4869 MethodReference target_method, in NewBootImageJniEntrypointPatch() argument 4872 target_method.dex_file, target_method.index, adrp_label, &boot_image_jni_entrypoint_patches_); in NewBootImageJniEntrypointPatch() 5002 MethodReference target_method = invoke->GetResolvedMethodReference(); in LoadIntrinsicDeclaringClass() local 5003 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in LoadIntrinsicDeclaringClass() 5004 LoadTypeForBootImageIntrinsic(reg, TypeReference(target_method.dex_file, type_idx)); in LoadIntrinsicDeclaringClass()
|
D | code_generator_arm_vixl.cc | 9368 MethodReference target_method) { in NewBootImageMethodPatch() argument 9370 target_method.dex_file, target_method.index, &boot_image_method_patches_); in NewBootImageMethodPatch() 9374 MethodReference target_method) { in NewMethodBssEntryPatch() argument 9376 target_method.dex_file, target_method.index, &method_bss_entry_patches_); in NewMethodBssEntryPatch() 9509 MethodReference target_method = invoke->GetResolvedMethodReference(); in LoadIntrinsicDeclaringClass() local 9510 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in LoadIntrinsicDeclaringClass() 9511 LoadTypeForBootImageIntrinsic(reg, TypeReference(target_method.dex_file, type_idx)); in LoadIntrinsicDeclaringClass()
|
D | instruction_builder.cc | 477 MethodReference target_method(dex_file_, method_idx); in BuildIntrinsic() local 489 target_method, in BuildIntrinsic() 493 target_method, in BuildIntrinsic()
|
D | code_generator_x86_64.cc | 1266 MethodReference target_method = invoke->GetResolvedMethodReference(); in LoadIntrinsicDeclaringClass() local 1267 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in LoadIntrinsicDeclaringClass() 1268 boot_image_type_patches_.emplace_back(target_method.dex_file, type_idx.index_); in LoadIntrinsicDeclaringClass()
|
D | code_generator_x86.cc | 5526 MethodReference target_method = invoke->GetResolvedMethodReference(); in LoadIntrinsicDeclaringClass() local 5527 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in LoadIntrinsicDeclaringClass() 5528 boot_image_type_patches_.emplace_back(method_address, target_method.dex_file, type_idx.index_); in LoadIntrinsicDeclaringClass()
|
/art/compiler/dex/ |
D | inline_method_analyser.cc | 150 ArtMethod* target_method = Runtime::Current()->GetClassLinker()->LookupResolvedMethod( in GetTargetConstructor() local 152 if (kIsDebugBuild && target_method != nullptr) { in GetTargetConstructor() 153 CHECK(!target_method->IsStatic()); in GetTargetConstructor() 154 CHECK(target_method->IsConstructor()); in GetTargetConstructor() 155 CHECK(target_method->GetDeclaringClass() == method->GetDeclaringClass() || in GetTargetConstructor() 156 target_method->GetDeclaringClass() == method->GetDeclaringClass()->GetSuperClass()); in GetTargetConstructor() 158 return target_method; in GetTargetConstructor() 312 ArtMethod* target_method = GetTargetConstructor(method, &instruction); in DoAnalyseConstructor() local 313 if (target_method == nullptr) { in DoAnalyseConstructor() 318 if (target_method->GetDeclaringClass() == method->GetDeclaringClass() && in DoAnalyseConstructor() [all …]
|
/art/runtime/ |
D | method_handles.cc | 653 ArtMethod* target_method) in RefineTargetMethod() argument 667 ObjPtr<mirror::Class> declaring_class(target_method->GetDeclaringClass()); in RefineTargetMethod() 676 target_method, kRuntimePointerSize); in RefineTargetMethod() 681 if (target_method->IsConstructor() && target_method->GetDeclaringClass()->IsStringClass()) { in RefineTargetMethod() 683 return WellKnownClasses::StringInitToStringFactory(target_method); in RefineTargetMethod() 691 ObjPtr<mirror::Class> declaring_class = target_method->GetDeclaringClass(); in RefineTargetMethod() 693 return target_method; in RefineTargetMethod() 696 if (target_method->IsAbstract()) { in RefineTargetMethod() 698 "Method " + target_method->PrettyMethod() + " is abstract interface method!"; in RefineTargetMethod() 704 uint16_t vtable_index = target_method->GetMethodIndex(); in RefineTargetMethod() [all …]
|
D | class_linker.cc | 6760 ArtMethod* target_method, in FindDefaultMethodImplementation() argument 6764 DCHECK(target_method != nullptr); in FindDefaultMethodImplementation() 6787 target_method->GetInterfaceMethodIfProxy(image_pointer_size_)); in FindDefaultMethodImplementation() 6862 << "as the implementation for '" << target_method->PrettyMethod() in FindDefaultMethodImplementation() 9581 ArtMethod* target_method = nullptr; in ResolveMethodHandleForMethod() local 9591 target_method = ResolveMethod<ResolveMode::kNoChecks>(self, in ResolveMethodHandleForMethod() 9600 target_method = ResolveMethod<ResolveMode::kNoChecks>(self, in ResolveMethodHandleForMethod() 9611 target_method = ResolveMethod<ResolveMode::kNoChecks>(self, in ResolveMethodHandleForMethod() 9627 target_method = ResolveMethodWithoutInvokeType(method_handle.field_or_method_idx_, in ResolveMethodHandleForMethod() 9630 if (UNLIKELY(target_method == nullptr)) { in ResolveMethodHandleForMethod() [all …]
|
D | class_linker.h | 1211 ArtMethod* target_method,
|
/art/test/ti-agent/ |
D | suspend_event_helper.cc | 46 jmethodID target_method; member 64 : target_loc(loc), target_method(meth != nullptr ? env->FromReflectedMethod(meth) : nullptr), in TestData() 106 if (meth != data->target_method || loc != data->target_loc) { in cbSingleStep() 124 if (method != data->target_method) { in cbExceptionCatch() 144 if (method != data->target_method) { in cbException() 157 if (method != data->target_method) { in cbMethodEntry() 175 if (method != data->target_method) { in cbMethodExit() 240 if (method != data->target_method || loc != data->target_loc) { in cbBreakpointHit() 552 env, jvmti_env, jvmti_env->SetBreakpoint(data->target_method, data->target_loc)); in Java_art_SuspendEvents_setupSuspendBreakpointFor() 570 env, jvmti_env, jvmti_env->ClearBreakpoint(data->target_method, data->target_loc))) { in Java_art_SuspendEvents_clearSuspendBreakpointFor()
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_arm_base.h | 126 UnprocessedMethodCallPatch(uint32_t patch_offset, MethodReference target_method) in UnprocessedMethodCallPatch() argument 127 : patch_offset_(patch_offset), target_method_(target_method) { } in UnprocessedMethodCallPatch()
|
D | relative_patcher_arm_base.cc | 487 MethodReference target_method = unprocessed_method_call_patches_.front().GetTargetMethod(); in ResolveMethodCalls() local 494 if (target_method == method_ref) { in ResolveMethodCalls() 500 auto result = target_provider_->FindMethodOffset(target_method); in ResolveMethodCalls()
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 905 MethodReference target_method = patch.TargetMethod(); in VisitMethod() local 906 AddBssReference(target_method, in VisitMethod() 907 target_method.dex_file->NumMethodIds(), in VisitMethod() 909 writer_->bss_method_entries_.Overwrite(target_method, /* placeholder */ 0u); in VisitMethod()
|