Home
last modified time | relevance | path

Searched refs:art_method (Results 1 – 17 of 17) 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, /* retry_allocation */ true)) { in Java_Main_ensureProfilingInfo()
43 LOG(ERROR) << "Failed to create profiling info for method " << art_method->PrettyMethod(); in Java_Main_ensureProfilingInfo()
59 ArtMethod* art_method = exec->GetArtMethod(); in Java_Main_presentInProfile() local
62 MethodReference(art_method->GetDexFile(), in Java_Main_presentInProfile()
63 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_NE(art_method->GetCodeItemOffset(), 0u); in GetArgumentsSize()
194 *size_ptr = art_method->DexInstructionData().InsSize(); in GetArgumentsSize()
206 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetLocalVariableTable() local
[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/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()
518 ArtMethod art_method; in TEST() local
529 stream.BeginInlineInfoEntry(&art_method, 2, 1); in TEST()
532 stream.BeginInlineInfoEntry(&art_method, 3, 3); in TEST()
545 stream.BeginInlineInfoEntry(&art_method, 2, 1); in TEST()
548 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()
717 ArtMethod* art_method = reinterpret_cast<ArtMethod*>(&remote_contents[0]); in RegionSpecializedBase() local
718 art_method->VisitMembers(member_info_); in RegionSpecializedBase()
812 auto art_method = reinterpret_cast<ArtMethod*>(method); in DumpDirtyEntries() local
815 FixUpRemotePointer(art_method->GetDeclaringClass(), in DumpDirtyEntries()
823 DumpOneArtMethod(art_method, declaring_class, remote_declaring_class); in DumpDirtyEntries()
919 void DumpOneArtMethod(ArtMethod* art_method, in DumpOneArtMethod() argument
924 os_ << " " << reinterpret_cast<const void*>(art_method) << " "; in DumpOneArtMethod()
926 << reinterpret_cast<const void*>(art_method->GetDataPtrSize(pointer_size)) << ", "; in DumpOneArtMethod()
[all …]
/art/runtime/
Dart_method.cc488 for (ArtMethod& art_method : declaring_class->GetVirtualMethods(pointer_size)) { in FindOatMethodFor()
490 if (method->GetDexMethodIndex() == art_method.GetDexMethodIndex()) { in FindOatMethodFor()
Dhidden_api_test.cc73 ArtMethod* art_method = jni::DecodeArtMethod(method_id); in getArtMethod() local
74 return art_method; in getArtMethod()
DAndroid.bp73 "art_method.cc",
Dclass_linker.cc3911 ArtMethod* art_method = klass->GetDirectMethodUnchecked(class_def_method_index, in LoadClass()
3913 LoadMethod(dex_file, method, klass, art_method); in LoadClass()
3914 LinkCode(this, art_method, oat_class_ptr, class_def_method_index); in LoadClass()
3918 art_method->SetMethodIndex(last_class_def_method_index); in LoadClass()
3920 art_method->SetMethodIndex(class_def_method_index); in LoadClass()
3926 ArtMethod* art_method = klass->GetVirtualMethodUnchecked( in LoadClass()
3929 LoadMethod(dex_file, method, klass, art_method); in LoadClass()
3930 LinkCode(this, art_method, oat_class_ptr, class_def_method_index); in LoadClass()