/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, in artFindNativeMethodRunnable() 78 DCHECK(NeedsClinitCheckBeforeCall(target_method)); in artFindNativeMethodRunnable() 79 ObjPtr<mirror::Class> declaring_class = target_method->GetDeclaringClass(); in artFindNativeMethodRunnable() 93 *sp = target_method; in artFindNativeMethodRunnable() 97 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 | 748 vixl::aarch64::Label* NewBootImageMethodPatch(MethodReference target_method, 755 vixl::aarch64::Label* NewMethodBssEntryPatch(MethodReference target_method, 793 vixl::aarch64::Label* NewBootImageJniEntrypointPatch(MethodReference target_method,
|
D | code_generator_arm_vixl.h | 618 PcRelativePatchInfo* NewBootImageMethodPatch(MethodReference target_method); 619 PcRelativePatchInfo* NewMethodBssEntryPatch(MethodReference target_method);
|
D | code_generator_arm64.cc | 4883 MethodReference target_method, in NewBootImageMethodPatch() argument 4886 target_method.dex_file, target_method.index, adrp_label, &boot_image_method_patches_); in NewBootImageMethodPatch() 4890 MethodReference target_method, in NewMethodBssEntryPatch() argument 4893 target_method.dex_file, target_method.index, adrp_label, &method_bss_entry_patches_); in NewMethodBssEntryPatch() 4942 MethodReference target_method, in NewBootImageJniEntrypointPatch() argument 4945 target_method.dex_file, target_method.index, adrp_label, &boot_image_jni_entrypoint_patches_); in NewBootImageJniEntrypointPatch() 5081 MethodReference target_method = invoke->GetResolvedMethodReference(); in LoadIntrinsicDeclaringClass() local 5082 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in LoadIntrinsicDeclaringClass() 5083 LoadTypeForBootImageIntrinsic(reg, TypeReference(target_method.dex_file, type_idx)); in LoadIntrinsicDeclaringClass()
|
D | code_generator_arm_vixl.cc | 9408 MethodReference target_method) { in NewBootImageMethodPatch() argument 9410 target_method.dex_file, target_method.index, &boot_image_method_patches_); in NewBootImageMethodPatch() 9414 MethodReference target_method) { in NewMethodBssEntryPatch() argument 9416 target_method.dex_file, target_method.index, &method_bss_entry_patches_); in NewMethodBssEntryPatch() 9553 MethodReference target_method = invoke->GetResolvedMethodReference(); in LoadIntrinsicDeclaringClass() local 9554 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in LoadIntrinsicDeclaringClass() 9555 LoadTypeForBootImageIntrinsic(reg, TypeReference(target_method.dex_file, type_idx)); in LoadIntrinsicDeclaringClass()
|
D | instruction_builder.cc | 481 MethodReference target_method(dex_file_, method_idx); in BuildIntrinsic() local 493 target_method, in BuildIntrinsic() 497 target_method, in BuildIntrinsic()
|
D | code_generator_x86_64.cc | 1337 MethodReference target_method = invoke->GetResolvedMethodReference(); in LoadIntrinsicDeclaringClass() local 1338 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in LoadIntrinsicDeclaringClass() 1339 boot_image_type_patches_.emplace_back(target_method.dex_file, type_idx.index_); in LoadIntrinsicDeclaringClass()
|
D | code_generator_x86.cc | 5608 MethodReference target_method = invoke->GetResolvedMethodReference(); in LoadIntrinsicDeclaringClass() local 5609 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in LoadIntrinsicDeclaringClass() 5610 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 | 442 ArtMethod* target_method) REQUIRES_SHARED(Locks::mutator_lock_) { in RefineTargetMethod() argument 448 ObjPtr<mirror::Class> declaring_class(target_method->GetDeclaringClass()); in RefineTargetMethod() 457 target_method, kRuntimePointerSize); in RefineTargetMethod() 462 if (target_method->IsConstructor() && target_method->GetDeclaringClass()->IsStringClass()) { in RefineTargetMethod() 464 return WellKnownClasses::StringInitToStringFactory(target_method); in RefineTargetMethod() 472 ObjPtr<mirror::Class> declaring_class = target_method->GetDeclaringClass(); in RefineTargetMethod() 474 return target_method; in RefineTargetMethod() 477 if (target_method->IsAbstract()) { in RefineTargetMethod() 479 "Method " + target_method->PrettyMethod() + " is abstract interface method!"; in RefineTargetMethod() 485 uint16_t vtable_index = target_method->GetMethodIndex(); in RefineTargetMethod() [all …]
|
D | class_linker.cc | 9658 ArtMethod* target_method = nullptr; in ResolveMethodHandleForMethod() local 9668 target_method = ResolveMethod<ResolveMode::kNoChecks>(self, in ResolveMethodHandleForMethod() 9677 target_method = ResolveMethod<ResolveMode::kNoChecks>(self, in ResolveMethodHandleForMethod() 9688 target_method = ResolveMethod<ResolveMode::kNoChecks>(self, in ResolveMethodHandleForMethod() 9704 target_method = ResolveMethodWithoutInvokeType(method_handle.field_or_method_idx_, in ResolveMethodHandleForMethod() 9707 if (UNLIKELY(target_method == nullptr)) { in ResolveMethodHandleForMethod() 9711 if (target_method->IsPrivate()) { in ResolveMethodHandleForMethod() 9713 target_method = ResolveMethod<ResolveMode::kNoChecks>(self, in ResolveMethodHandleForMethod() 9719 target_method = ResolveMethod<ResolveMode::kNoChecks>(self, in ResolveMethodHandleForMethod() 9723 if (UNLIKELY(target_method == nullptr)) { in ResolveMethodHandleForMethod() [all …]
|
/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 | 912 MethodReference target_method = patch.TargetMethod(); in VisitMethod() local 913 AddBssReference(target_method, in VisitMethod() 914 target_method.dex_file->NumMethodIds(), in VisitMethod() 916 writer_->bss_method_entries_.Overwrite(target_method, /* placeholder */ 0u); in VisitMethod()
|