Home
last modified time | relevance | path

Searched refs:target_method (Results 1 – 17 of 17) sorted by relevance

/art/runtime/entrypoints/jni/
Djni_entrypoints.cc62 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()
69 MaybeUpdateBssMethodEntry(target_method, MethodReference(method->GetDexFile(), method_idx)); in artFindNativeMethodRunnable()
73 DCHECK(NeedsClinitCheckBeforeCall(target_method)); in artFindNativeMethodRunnable()
74 ObjPtr<mirror::Class> declaring_class = target_method->GetDeclaringClass(); in artFindNativeMethodRunnable()
88 *sp = target_method; in artFindNativeMethodRunnable()
92 method = target_method; in artFindNativeMethodRunnable()
/art/compiler/dex/
Dinline_method_analyser.cc150 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/
Dmethod_handles.cc653 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 …]
Dclass_linker.cc6812 ArtMethod* target_method, in FindDefaultMethodImplementation() argument
6816 DCHECK(target_method != nullptr); in FindDefaultMethodImplementation()
6839 target_method->GetInterfaceMethodIfProxy(image_pointer_size_)); in FindDefaultMethodImplementation()
6914 << "as the implementation for '" << target_method->PrettyMethod() in FindDefaultMethodImplementation()
9329 ArtMethod* target_method = nullptr; in ResolveMethodHandleForMethod() local
9339 target_method = ResolveMethod<ResolveMode::kNoChecks>(self, in ResolveMethodHandleForMethod()
9348 target_method = ResolveMethod<ResolveMode::kNoChecks>(self, in ResolveMethodHandleForMethod()
9359 target_method = ResolveMethod<ResolveMode::kNoChecks>(self, in ResolveMethodHandleForMethod()
9375 target_method = ResolveMethodWithoutInvokeType(method_handle.field_or_method_idx_, in ResolveMethodHandleForMethod()
9378 if (UNLIKELY(target_method == nullptr)) { in ResolveMethodHandleForMethod()
[all …]
Dclass_linker.h1259 ArtMethod* target_method,
/art/test/ti-agent/
Dsuspend_event_helper.cc46 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/
Drelative_patcher_arm_base.h126 UnprocessedMethodCallPatch(uint32_t patch_offset, MethodReference target_method) in UnprocessedMethodCallPatch() argument
127 : patch_offset_(patch_offset), target_method_(target_method) { } in UnprocessedMethodCallPatch()
Drelative_patcher_arm_base.cc487 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/compiler/optimizing/
Dinstruction_builder.cc445 MethodReference target_method(dex_file_, method_idx); in BuildIntrinsic() local
461 target_method, in BuildIntrinsic()
835 /*out*/MethodReference* target_method, in ResolveMethod() argument
929 *target_method = in ResolveMethod()
933 *target_method = MethodReference(/*file=*/ nullptr, resolved_method->GetVtableIndex()); in ResolveMethod()
936 *target_method = MethodReference(/*file=*/ nullptr, ImTable::GetImtIndex(resolved_method)); in ResolveMethod()
940 DCHECK(target_method == nullptr); in ResolveMethod()
964 MethodReference target_method(nullptr, 0u); in BuildInvoke() local
970 &target_method, in BuildInvoke()
1005 target_method, in BuildInvoke()
[all …]
Dcode_generator_arm_vixl.h614 PcRelativePatchInfo* NewBootImageMethodPatch(MethodReference target_method);
615 PcRelativePatchInfo* NewMethodBssEntryPatch(MethodReference target_method);
Dcode_generator_arm64.cc4454 MethodReference target_method(&GetGraph()->GetDexFile(), invoke->GetDexMethodIndex()); in GenerateStaticOrDirectCall() local
4455 vixl::aarch64::Label* adrp_label = NewMethodBssEntryPatch(target_method); in GenerateStaticOrDirectCall()
4459 NewMethodBssEntryPatch(target_method, adrp_label); in GenerateStaticOrDirectCall()
4648 MethodReference target_method, in NewBootImageMethodPatch() argument
4651 target_method.dex_file, target_method.index, adrp_label, &boot_image_method_patches_); in NewBootImageMethodPatch()
4655 MethodReference target_method, in NewMethodBssEntryPatch() argument
4658 target_method.dex_file, target_method.index, adrp_label, &method_bss_entry_patches_); in NewMethodBssEntryPatch()
4808 MethodReference target_method = invoke->GetTargetMethod(); in AllocateInstanceForIntrinsic() local
4809 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in AllocateInstanceForIntrinsic()
4811 vixl::aarch64::Label* adrp_label = NewBootImageTypePatch(*target_method.dex_file, type_idx); in AllocateInstanceForIntrinsic()
[all …]
Dcode_generator_arm64.h716 vixl::aarch64::Label* NewBootImageMethodPatch(MethodReference target_method,
723 vixl::aarch64::Label* NewMethodBssEntryPatch(MethodReference target_method,
Dcode_generator_arm_vixl.cc9236 MethodReference target_method) { in NewBootImageMethodPatch() argument
9238 target_method.dex_file, target_method.index, &boot_image_method_patches_); in NewBootImageMethodPatch()
9242 MethodReference target_method) { in NewMethodBssEntryPatch() argument
9244 target_method.dex_file, target_method.index, &method_bss_entry_patches_); in NewMethodBssEntryPatch()
9356 MethodReference target_method = invoke->GetTargetMethod(); in AllocateInstanceForIntrinsic() local
9357 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in AllocateInstanceForIntrinsic()
9358 PcRelativePatchInfo* labels = NewBootImageTypePatch(*target_method.dex_file, type_idx); in AllocateInstanceForIntrinsic()
Dcode_generator_x86_64.cc1207 MethodReference target_method = invoke->GetTargetMethod(); in AllocateInstanceForIntrinsic() local
1208 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in AllocateInstanceForIntrinsic()
1209 boot_image_type_patches_.emplace_back(target_method.dex_file, type_idx.index_); in AllocateInstanceForIntrinsic()
Dcode_generator_x86.cc5266 MethodReference target_method = invoke->GetTargetMethod(); in AllocateInstanceForIntrinsic() local
5267 dex::TypeIndex type_idx = target_method.dex_file->GetMethodId(target_method.index).class_idx_; in AllocateInstanceForIntrinsic()
5268 boot_image_type_patches_.emplace_back(method_address, target_method.dex_file, type_idx.index_); in AllocateInstanceForIntrinsic()
Dnodes.h4640 MethodReference target_method, in HInvokeStaticOrDirect() argument
4654 target_method_(target_method), in HInvokeStaticOrDirect()
/art/dex2oat/linker/
Doat_writer.cc909 MethodReference target_method = patch.TargetMethod(); in VisitMethod() local
910 AddBssReference(target_method, in VisitMethod()
911 target_method.dex_file->NumMethodIds(), in VisitMethod()
913 writer_->bss_method_entries_.Overwrite(target_method, /* placeholder */ 0u); in VisitMethod()