Home
last modified time | relevance | path

Searched refs:art_method (Results 1 – 22 of 22) sorted by relevance

/art/test/595-profile-saving/
Dprofile-saving.cc41 ArtMethod* art_method = exec->GetArtMethod(); in Java_Main_ensureProfilingInfo() local
42 if (ProfilingInfo::Create(soa.Self(), art_method) == nullptr) { in Java_Main_ensureProfilingInfo()
43 LOG(ERROR) << "Failed to create profiling info for method " << art_method->PrettyMethod(); in Java_Main_ensureProfilingInfo()
71 ArtMethod* art_method = exec->GetArtMethod(); in Java_Main_presentInProfile() local
72 MethodReference ref(art_method->GetDexFile(), art_method->GetDexMethodIndex()); in Java_Main_presentInProfile()
/art/runtime/jni/
Djni_internal.h114 static inline jmethodID EncodeArtMethod(ReflectiveHandle<ArtMethod> art_method) in EncodeArtMethod() argument
117 return Runtime::Current()->GetJniIdManager()->EncodeMethodId(art_method); in EncodeArtMethod()
119 return reinterpret_cast<jmethodID>(art_method.Get()); in EncodeArtMethod()
125 static inline jmethodID EncodeArtMethod(ArtMethod* art_method) in EncodeArtMethod() argument
128 return Runtime::Current()->GetJniIdManager()->EncodeMethodId(art_method); in EncodeArtMethod()
130 return reinterpret_cast<jmethodID>(art_method); in EncodeArtMethod()
/art/openjdkjvmti/
Dti_method.cc138 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetBytecodes() local
140 if (art_method->IsNative()) { in GetBytecodes()
149 art::CodeItemInstructionAccessor accessor(art_method->DexInstructions()); in GetBytecodes()
171 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetArgumentsSize() local
173 if (art_method->IsNative()) { in GetArgumentsSize()
182 if (art_method->IsProxyMethod() || art_method->IsAbstract()) { in GetArgumentsSize()
184 art::ArtMethod* base_method = art_method->GetInterfaceMethodIfProxy(art::kRuntimePointerSize); in GetArgumentsSize()
193 DCHECK(art_method->HasCodeItem()); in GetArgumentsSize()
194 DCHECK_NE(art_method->GetCodeItem(), nullptr); in GetArgumentsSize()
195 *size_ptr = art_method->DexInstructionData().InsSize(); in GetArgumentsSize()
[all …]
Dti_breakpoint.cc157 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method)->GetCanonicalMethod(); in SetBreakpoint() local
159 art_method->DexInstructions().InsnsSizeInCodeUnits()) { in SetBreakpoint()
162 DeoptManager::Get()->AddMethodBreakpoint(art_method); in SetBreakpoint()
165 auto res_pair = env->breakpoints.insert(/* Breakpoint */ {art_method, location}); in SetBreakpoint()
171 DeoptManager::Get()->RemoveMethodBreakpoint(art_method); in SetBreakpoint()
181 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method)->GetCanonicalMethod(); in ClearBreakpoint() local
184 auto pos = env->breakpoints.find(/* Breakpoint */ {art_method, location}); in ClearBreakpoint()
190 DeoptManager::Get()->RemoveMethodBreakpoint(art_method); in ClearBreakpoint()
/art/runtime/
Dsdk_checker.cc49 bool SdkChecker::ShouldDenyAccess(ArtMethod* art_method) const { in ShouldDenyAccess()
57 dex_file->FindTypeId(art_method->GetDeclaringClassDescriptor()); in ShouldDenyAccess()
61 const dex::StringId* name_id = dex_file->FindStringId(art_method->GetName()); in ShouldDenyAccess()
69 art_method->GetSignature().ToString().c_str(), in ShouldDenyAccess()
88 VLOG(verifier) << "Deny for " << art_method->PrettyMethod(true); in ShouldDenyAccess()
Dsdk_checker.h55 bool ShouldDenyAccess(ArtMethod* art_method) const REQUIRES_SHARED(Locks::mutator_lock_);
Daot_class_linker.h42 bool DenyAccessBasedOnPublicSdk(ArtMethod* art_method ATTRIBUTE_UNUSED) const override
Daot_class_linker.cc212 bool AotClassLinker::DenyAccessBasedOnPublicSdk(ArtMethod* art_method) const in DenyAccessBasedOnPublicSdk()
214 return sdk_checker_ != nullptr && sdk_checker_->ShouldDenyAccess(art_method); in DenyAccessBasedOnPublicSdk()
Dart_method.cc485 for (ArtMethod& art_method : declaring_class->GetVirtualMethods(pointer_size)) { in FindOatMethodFor()
487 if (method->GetDexMethodIndex() == art_method.GetDexMethodIndex()) { in FindOatMethodFor()
Dhidden_api_test.cc162 ArtMethod* art_method = jni::DecodeArtMethod(method_id); in GetArtMethod() local
163 return art_method; in GetArtMethod()
Dclass_linker.cc3597 ArtMethod* art_method = klass->GetDirectMethodUnchecked(class_def_method_index, in LoadClass()
3599 LoadMethod(dex_file, method, klass.Get(), art_method); in LoadClass()
3600 LinkCode(this, art_method, oat_class_ptr, class_def_method_index); in LoadClass()
3604 art_method->SetMethodIndex(last_class_def_method_index); in LoadClass()
3606 art_method->SetMethodIndex(class_def_method_index); in LoadClass()
3610 art_method->ResetCounter(hotness_threshold); in LoadClass()
3613 ArtMethod* art_method = klass->GetVirtualMethodUnchecked( in LoadClass()
3616 art_method->ResetCounter(hotness_threshold); in LoadClass()
3617 LoadMethod(dex_file, method, klass.Get(), art_method); in LoadClass()
3618 LinkCode(this, art_method, oat_class_ptr, class_def_method_index); in LoadClass()
[all …]
DAndroid.bp110 "art_method.cc",
Dclass_linker.h831 virtual bool DenyAccessBasedOnPublicSdk(ArtMethod* art_method) const
/art/test/664-aget-verifier/
Daget-verifier.cc36 ArtMethod* art_method = exec->GetArtMethod(); in Java_Main_testCompiled() local
37 return art_method->HasAnyCompiledCode(); in Java_Main_testCompiled()
/art/test/1947-breakpoint-redefine-deopt/
Dcheck_deopt.cc27 ArtMethod* art_method = ArtMethod::FromReflectedMethod(soa, m); in Java_Main_isMethodDeoptimized() local
28 return Runtime::Current()->GetInstrumentation()->IsDeoptimized(art_method); in Java_Main_isMethodDeoptimized()
/art/test/661-oat-writer-layout/
Doat_writer_layout.cc40 ArtMethod* art_method = exec->GetArtMethod(); in Java_Main_getOatMethodQuickCode() local
43 art_method->GetOatMethodQuickCode(Runtime::Current()->GetClassLinker()->GetImagePointerSize()); in Java_Main_getOatMethodQuickCode()
/art/test/616-cha-unloading/
Dcha_unload.cc60 jlong art_method) { in Java_Main_reuseArenaOfMethod() argument
61 void* ptr = reinterpret_cast64<void*>(art_method); in Java_Main_reuseArenaOfMethod()
/art/compiler/optimizing/
Dstack_map_test.cc110 ArtMethod art_method; in TEST() local
120 stream.BeginInlineInfoEntry(&art_method, 3, number_of_dex_registers_in_inline_info); in TEST()
122 stream.BeginInlineInfoEntry(&art_method, 2, number_of_dex_registers_in_inline_info); in TEST()
304 ArtMethod art_method; in TEST() local
314 stream.BeginInlineInfoEntry(&art_method, 3, number_of_dex_registers_in_inline_info); in TEST()
516 ArtMethod art_method; in TEST() local
527 stream.BeginInlineInfoEntry(&art_method, 2, 1); in TEST()
530 stream.BeginInlineInfoEntry(&art_method, 3, 3); in TEST()
543 stream.BeginInlineInfoEntry(&art_method, 2, 1); in TEST()
546 stream.BeginInlineInfoEntry(&art_method, 3, 3); in TEST()
[all …]
/art/runtime/native/
Djava_lang_reflect_Executable.cc163 ArtMethod* art_method = executable.Get()->GetArtMethod(); in Executable_getParameters0() local
164 if (art_method->GetDeclaringClass()->IsProxyClass()) { in Executable_getParameters0()
172 if (!annotations::GetParametersMetadataForMethod(art_method, &names, &access_flags)) { in Executable_getParameters0()
180 art_method->PrettyMethod().c_str()).c_str()); in Executable_getParameters0()
191 art_method->PrettyMethod().c_str(), in Executable_getParameters0()
/art/tools/cpp-define-generator/
Dasm_defines.def23 #include "art_method.def"
Dart_method.def18 #include "art_method.h"
/art/imgdiag/
Dimgdiag.cc216 template<> size_t EntrySize(ArtMethod* art_method) REQUIRES_SHARED(Locks::mutator_lock_) { in EntrySize() argument
217 return sizeof(*art_method); in EntrySize()
718 ArtMethod* art_method = reinterpret_cast<ArtMethod*>(&remote_contents[0]); in RegionSpecializedBase() local
719 art_method->VisitMembers(member_info_); in RegionSpecializedBase()
813 auto art_method = reinterpret_cast<ArtMethod*>(method); in DumpDirtyEntries() local
816 FixUpRemotePointer(art_method->GetDeclaringClass(), in DumpDirtyEntries()
824 DumpOneArtMethod(art_method, declaring_class, remote_declaring_class); in DumpDirtyEntries()
920 void DumpOneArtMethod(ArtMethod* art_method, in DumpOneArtMethod() argument
925 os_ << " " << reinterpret_cast<const void*>(art_method) << " "; in DumpOneArtMethod()
927 << reinterpret_cast<const void*>(art_method->GetDataPtrSize(pointer_size)) << ", "; in DumpOneArtMethod()
[all …]