Home
last modified time | relevance | path

Searched refs:art_method (Results 1 – 16 of 16) 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/openjdkjvmti/
Dti_breakpoint.cc94 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method)->GetCanonicalMethod(); in SetBreakpoint() local
96 art_method->DexInstructions().InsnsSizeInCodeUnits()) { in SetBreakpoint()
99 DeoptManager::Get()->AddMethodBreakpoint(art_method); in SetBreakpoint()
102 auto res_pair = env->breakpoints.insert(/* Breakpoint */ {art_method, location}); in SetBreakpoint()
108 DeoptManager::Get()->RemoveMethodBreakpoint(art_method); in SetBreakpoint()
118 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method)->GetCanonicalMethod(); in ClearBreakpoint() local
121 auto pos = env->breakpoints.find(/* Breakpoint */ {art_method, location}); in ClearBreakpoint()
127 DeoptManager::Get()->RemoveMethodBreakpoint(art_method); in ClearBreakpoint()
Dti_method.cc116 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetBytecodes() local
118 if (art_method->IsNative()) { in GetBytecodes()
127 art::CodeItemInstructionAccessor accessor(art_method->DexInstructions()); in GetBytecodes()
149 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetArgumentsSize() local
151 if (art_method->IsNative()) { in GetArgumentsSize()
160 if (art_method->IsProxyMethod() || art_method->IsAbstract()) { in GetArgumentsSize()
162 art::ArtMethod* base_method = art_method->GetInterfaceMethodIfProxy(art::kRuntimePointerSize); in GetArgumentsSize()
171 DCHECK_NE(art_method->GetCodeItemOffset(), 0u); in GetArgumentsSize()
172 *size_ptr = art_method->DexInstructionData().InsSize(); in GetArgumentsSize()
184 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetLocalVariableTable() local
[all …]
/art/compiler/optimizing/
Dintrinsics.cc133 ArtMethod* art_method = invoke->GetResolvedMethod(); in CheckInvokeType() local
134 return (art_method->IsFinal() || art_method->GetDeclaringClass()->IsFinal()); in CheckInvokeType()
152 ArtMethod* art_method, in Recognize() argument
154 if (art_method == nullptr) { in Recognize()
155 art_method = invoke->GetResolvedMethod(); in Recognize()
158 if (art_method == nullptr || !art_method->IsIntrinsic()) { in Recognize()
164 if (art_method->IsPolymorphicSignature()) { in Recognize()
168 Intrinsics intrinsic = static_cast<Intrinsics>(art_method->GetIntrinsic()); in Recognize()
Dstack_map_test.cc135 ArtMethod art_method; in TEST() local
145 stream.BeginInlineInfoEntry(&art_method, 3, number_of_dex_registers_in_inline_info); in TEST()
147 stream.BeginInlineInfoEntry(&art_method, 2, number_of_dex_registers_in_inline_info); in TEST()
420 ArtMethod art_method; in TEST() local
430 stream.BeginInlineInfoEntry(&art_method, 3, number_of_dex_registers_in_inline_info); in TEST()
768 ArtMethod art_method; in TEST() local
779 stream.BeginInlineInfoEntry(&art_method, 2, 1); in TEST()
782 stream.BeginInlineInfoEntry(&art_method, 3, 3); in TEST()
795 stream.BeginInlineInfoEntry(&art_method, 2, 1); in TEST()
798 stream.BeginInlineInfoEntry(&art_method, 3, 3); in TEST()
[all …]
/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/616-cha-unloading/
Dcha_unload.cc42 jlong art_method) { in Java_Main_reuseArenaOfMethod() argument
49 } while (!alloc->Contains(reinterpret_cast<void*>(static_cast<uintptr_t>(art_method)))); in Java_Main_reuseArenaOfMethod()
/art/runtime/
Djni_internal.h48 static inline jmethodID EncodeArtMethod(ArtMethod* art_method) { in EncodeArtMethod() argument
49 return reinterpret_cast<jmethodID>(art_method); in EncodeArtMethod()
Dhidden_api_test.cc59 ArtMethod* art_method = jni::DecodeArtMethod(method_id); in getArtMethod() local
60 return art_method; in getArtMethod()
Dart_method.cc522 for (ArtMethod& art_method : declaring_class->GetVirtualMethods(pointer_size)) { in FindOatMethodFor()
524 if (method->GetDexMethodIndex() == art_method.GetDexMethodIndex()) { in FindOatMethodFor()
DAndroid.bp33 "art_method.cc",
/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/runtime/native/
Djava_lang_reflect_Executable.cc160 ArtMethod* art_method = executable.Get()->GetArtMethod(); in Executable_getParameters0() local
161 if (art_method->GetDeclaringClass()->IsProxyClass()) { in Executable_getParameters0()
169 if (!annotations::GetParametersMetadataForMethod(art_method, &names, &access_flags)) { in Executable_getParameters0()
177 art_method->PrettyMethod().c_str()).c_str()); in Executable_getParameters0()
188 art_method->PrettyMethod().c_str(), in Executable_getParameters0()
/art/imgdiag/
Dimgdiag.cc207 template<> size_t EntrySize(ArtMethod* art_method) REQUIRES_SHARED(Locks::mutator_lock_) { in EntrySize() argument
208 return sizeof(*art_method); in EntrySize()
702 ArtMethod* art_method = reinterpret_cast<ArtMethod*>(&(*remote_contents)[0]); in RegionSpecializedBase() local
703 art_method->VisitMembers(member_info_); in RegionSpecializedBase()
795 auto art_method = reinterpret_cast<ArtMethod*>(method); in DumpDirtyEntries() local
798 FixUpRemotePointer(art_method->GetDeclaringClass(), in DumpDirtyEntries()
806 DumpOneArtMethod(art_method, declaring_class, remote_declaring_class); in DumpDirtyEntries()
904 void DumpOneArtMethod(ArtMethod* art_method, in DumpOneArtMethod() argument
909 os_ << " " << reinterpret_cast<const void*>(art_method) << " "; in DumpOneArtMethod()
911 << reinterpret_cast<const void*>(art_method->GetDataPtrSize(pointer_size)) << ", "; in DumpOneArtMethod()
[all …]
/art/tools/cpp-define-generator/
Doffset_art_method.def20 #include "art_method.h" // art::ArtMethod