Home
last modified time | relevance | path

Searched refs:ArtMethod (Results 51 – 75 of 272) sorted by relevance

1234567891011

/art/runtime/interpreter/
Dinterpreter_intrinsics.h24 class ArtMethod; variable
33 ArtMethod* const called_method,
Dunstarted_runtime.h27 class ArtMethod; variable
59 ArtMethod* method,
82 ArtMethod* method, \
/art/runtime/
Dnative_stack_dump.h30 class ArtMethod; variable
37 ArtMethod* current_method = nullptr,
Dart_method.h68 using MethodDexCachePair = NativeDexCachePair<ArtMethod>;
72 class ArtMethod final {
81 ArtMethod() : access_flags_(0), dex_code_item_offset_(0), dex_method_index_(0), in ArtMethod() function
84 ArtMethod(ArtMethod* src, PointerSize image_pointer_size) { in ArtMethod() function
88 static ArtMethod* FromReflectedMethod(const ScopedObjectAccessAlreadyRunnable& soa,
110 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, declaring_class_)); in DeclaringClassOffset()
125 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, access_flags_)); in AccessFlagsOffset()
411 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, dex_method_index_)); in DexMethodIndexOffset()
415 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, method_index_)); in MethodIndexOffset()
419 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, imt_index_)); in ImtIndexOffset()
[all …]
Dquick_exception_handler.h32 class ArtMethod; variable
85 void SetHandlerQuickFrame(ArtMethod** handler_quick_frame) { in SetHandlerQuickFrame()
101 ArtMethod* GetHandlerMethod() const { in GetHandlerMethod()
146 ArtMethod** handler_quick_frame_;
Dmonitor-inl.h43 uintptr_t Monitor::LockOwnerInfoChecksum(ArtMethod* m, uint32_t dex_pc, Thread* t) { in LockOwnerInfoChecksum()
49 void Monitor::SetLockOwnerInfo(ArtMethod* method, uint32_t dex_pc, Thread* t) { in SetLockOwnerInfo()
57 void Monitor::GetLockOwnerInfo(/*out*/ArtMethod** method, /*out*/uint32_t* dex_pc, in GetLockOwnerInfo()
59 ArtMethod* owners_method; in GetLockOwnerInfo()
Dstack.cc104 ArtMethod* StackVisitor::GetMethod() const { in GetMethod()
143 extern "C" mirror::Object* artQuickGetProxyThisObject(ArtMethod** sp)
148 ArtMethod* m = GetMethod(); in GetThisObject()
156 reinterpret_cast<char*>(cur_quick_frame_) + sizeof(ArtMethod*)); in GetThisObject()
179 << ArtMethod::PrettyMethod(m); in GetThisObject()
220 bool StackVisitor::GetVReg(ArtMethod* m, in GetVReg()
272 bool StackVisitor::GetVRegFromOptimizedCode(ArtMethod* m, uint16_t vreg, VRegKind kind, in GetVRegFromOptimizedCode()
407 bool StackVisitor::GetVRegPair(ArtMethod* m, uint16_t vreg, VRegKind kind_lo, in GetVRegPair()
439 bool StackVisitor::GetVRegPairFromOptimizedCode(ArtMethod* m, uint16_t vreg, in GetVRegPairFromOptimizedCode()
471 ShadowFrame* StackVisitor::PrepareSetVReg(ArtMethod* m, uint16_t vreg, bool wide) { in PrepareSetVReg()
[all …]
Dtrace.cc76 std::unique_ptr<std::vector<ArtMethod*>> Trace::temp_stack_trace_;
85 ArtMethod* Trace::DecodeTraceMethod(uint32_t tmid) { in DecodeTraceMethod()
90 uint32_t Trace::EncodeTraceMethod(ArtMethod* method) { in EncodeTraceMethod()
106 uint32_t Trace::EncodeTraceMethodAndAction(ArtMethod* method, TraceAction action) { in EncodeTraceMethodAndAction()
112 std::vector<ArtMethod*>* Trace::AllocStackTrace() { in AllocStackTrace()
114 new std::vector<ArtMethod*>(); in AllocStackTrace()
117 void Trace::FreeStackTrace(std::vector<ArtMethod*>* stack_trace) { in FreeStackTrace()
208 std::vector<ArtMethod*>* const stack_trace = Trace::AllocStackTrace(); in GetSample()
211 ArtMethod* m = stack_visitor->GetMethod(); in GetSample()
227 std::vector<ArtMethod*>* stack_trace = thread->GetStackTraceSample(); in ClearThreadStackTraceAndClockBase()
[all …]
Dinstrumentation.cc63 ArtMethod* method, in MethodExited()
78 ArtMethod* method, in FieldWritten()
143 ArtMethod* method = frame.method_; in PopFramesTo()
203 for (ArtMethod& method : klass->GetMethods(kRuntimePointerSize)) { in InstallStubsForClass()
209 static void UpdateEntrypoints(ArtMethod* method, const void* quick_code) in UpdateEntrypoints()
223 bool Instrumentation::NeedDebugVersionFor(ArtMethod* method) const in NeedDebugVersionFor()
234 void Instrumentation::InstallStubsForMethod(ArtMethod* method) { in InstallStubsForMethod()
245 ArtMethod* well_known_proxy_init = jni::DecodeArtMethod( in InstallStubsForMethod()
314 ArtMethod* m = GetMethod(); in InstrumentationInstallStack()
362 << "Expected " << ArtMethod::PrettyMethod(m) in InstrumentationInstallStack()
[all …]
Druntime_intrinsics.cc33 ArtMethod* FindIntrinsicMethod(Thread* self, in FindIntrinsicMethod()
45 ArtMethod* method = cls->FindClassMethod(method_name, signature, image_size); in FindIntrinsicMethod()
62 ArtMethod* method = FindIntrinsicMethod(self, class_name, method_name, signature); in InitializeIntrinsic()
82 ArtMethod* method = FindIntrinsicMethod(self, class_name, method_name, signature); in IsIntrinsicInitialized()
Dfault_handler.cc60 static mirror::Class* SafeGetDeclaringClass(ArtMethod* method) in SafeGetDeclaringClass()
63 reinterpret_cast<char*>(method) + ArtMethod::DeclaringClassOffset().SizeValue(); in SafeGetDeclaringClass()
115 static mirror::Class* SafeGetDeclaringClass(ArtMethod* method_obj) in SafeGetDeclaringClass()
291 ArtMethod* method_obj = nullptr; in IsInGeneratedCode()
303 DCHECK_ALIGNED(ArtMethod::Size(kRuntimePointerSize), sizeof(void*)) in IsInGeneratedCode()
346 CHECK_EQ(*reinterpret_cast<ArtMethod**>(sp), method_obj); in IsInGeneratedCode()
347 dexpc = method_header->ToDexPc(reinterpret_cast<ArtMethod**>(sp), return_pc, false); in IsInGeneratedCode()
389 ArtMethod* method = nullptr; in Action()
398 self->SetTopOfStack(reinterpret_cast<ArtMethod**>(sp)); in Action()
/art/tools/tracefast-plugin/
Dtracefast.cc48 art::ArtMethod* method ATTRIBUTE_UNUSED, in MethodEntered()
54 art::ArtMethod* method ATTRIBUTE_UNUSED, in MethodExited()
62 art::ArtMethod* method ATTRIBUTE_UNUSED, in MethodExited()
70 art::ArtMethod* method ATTRIBUTE_UNUSED, in MethodUnwind()
76 art::ArtMethod* method ATTRIBUTE_UNUSED, in DexPcMoved()
82 art::ArtMethod* method ATTRIBUTE_UNUSED, in FieldRead()
89 art::ArtMethod* method ATTRIBUTE_UNUSED, in FieldWritten()
97 art::ArtMethod* method ATTRIBUTE_UNUSED, in FieldWritten()
112 art::ArtMethod* method ATTRIBUTE_UNUSED, in Branch()
/art/runtime/interpreter/mterp/
Dnterp.h27 class ArtMethod; variable
34 bool CanMethodUseNterp(ArtMethod* method);
Dnterp.cc49 bool CanMethodUseNterp(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_) { in CanMethodUseNterp()
84 inline void UpdateHotness(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_) { in UpdateHotness()
118 extern "C" const dex::CodeItem* NterpGetCodeItem(ArtMethod* method) in NterpGetCodeItem()
124 extern "C" const char* NterpGetShorty(ArtMethod* method) in NterpGetShorty()
130 extern "C" const char* NterpGetShortyFromMethodId(ArtMethod* caller, uint32_t method_index) in NterpGetShortyFromMethodId()
136 extern "C" const char* NterpGetShortyFromInvokePolymorphic(ArtMethod* caller, uint16_t* dex_pc_ptr) in NterpGetShortyFromInvokePolymorphic()
146 extern "C" const char* NterpGetShortyFromInvokeCustom(ArtMethod* caller, uint16_t* dex_pc_ptr) in NterpGetShortyFromInvokeCustom()
158 extern "C" size_t NterpGetMethod(Thread* self, ArtMethod* caller, uint16_t* dex_pc_ptr) in NterpGetMethod()
229 ArtMethod* resolved_method = caller->SkipAccessChecks() in NterpGetMethod()
310 ArtMethod* caller, in ResolveFieldWithAccessChecks()
[all …]
/art/runtime/jni/
Djni_id_manager.cc92 bool ShouldReturnPointer(ObjPtr<mirror::Class> klass, ArtMethod* t ATTRIBUTE_UNUSED) { in ShouldReturnPointer()
140 bool EnsureIdsArray(Thread* self, ObjPtr<mirror::Class> k, ArtMethod* method) { in EnsureIdsArray()
171 size_t GetIdOffset(ObjPtr<mirror::Class> k, ArtMethod* method, PointerSize pointer_size) { in GetIdOffset()
179 std::string PrettyGeneric(ArtMethod* f) { in PrettyGeneric()
183 std::string PrettyGeneric(ReflectiveHandle<ArtMethod> f) { in PrettyGeneric()
203 bool IsObsolete(ReflectiveHandle<ArtMethod> t) { in IsObsolete()
215 ArtMethod* Canonicalize(ReflectiveHandle<ArtMethod> t) { in Canonicalize()
237 uintptr_t JniIdManager::GetNextId<ArtMethod>(JniIdType type) { in GetNextId()
250 std::vector<ArtMethod*>& JniIdManager::GetGenericMap<ArtMethod>() { in GetGenericMap()
260 size_t JniIdManager::GetLinearSearchStartId<ArtMethod>(ReflectiveHandle<ArtMethod> m) { in GetLinearSearchStartId()
[all …]
/art/runtime/arch/arm/
Dquick_entrypoints_cc_arm.cc23 extern "C" void art_quick_invoke_stub_internal(ArtMethod*, uint32_t*, uint32_t,
28 static void quick_invoke_reg_setup(ArtMethod* method, uint32_t* args, uint32_t args_size, in quick_invoke_reg_setup()
99 extern "C" void art_quick_invoke_stub(ArtMethod* method, uint32_t* args, uint32_t args_size, in art_quick_invoke_stub()
106 extern "C" void art_quick_invoke_static_stub(ArtMethod* method, uint32_t* args, in art_quick_invoke_static_stub()
/art/test/1947-breakpoint-redefine-deopt/
Dcheck_deopt.cc27 ArtMethod* art_method = ArtMethod::FromReflectedMethod(soa, m); in Java_Main_isMethodDeoptimized()
/art/runtime/native/
Djava_lang_reflect_Method.cc40 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Method_getDefaultValue()
49 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Method_getExceptionTypes()
/art/runtime/mirror/
Dclass.cc464 os << StringPrintf(" %2zd: %s\n", i, ArtMethod::PrettyMethod( in DumpClass()
469 os << StringPrintf(" %2zd: %s\n", i, ArtMethod::PrettyMethod( in DumpClass()
558 static inline ArtMethod* FindInterfaceMethodWithSignature(ObjPtr<Class> klass, in FindInterfaceMethodWithSignature()
569 for (ArtMethod& method : klass->GetDeclaredMethodsSlice(pointer_size)) { in FindInterfaceMethodWithSignature()
581 for (ArtMethod& method : iface->GetVirtualMethodsSlice(pointer_size)) { in FindInterfaceMethodWithSignature()
592 for (ArtMethod& method : object_class->GetDeclaredMethodsSlice(pointer_size)) { in FindInterfaceMethodWithSignature()
602 ArtMethod* Class::FindInterfaceMethod(std::string_view name, in FindInterfaceMethod()
608 ArtMethod* Class::FindInterfaceMethod(std::string_view name, in FindInterfaceMethod()
614 ArtMethod* Class::FindInterfaceMethod(ObjPtr<DexCache> dex_cache, in FindInterfaceMethod()
639 ArtMethod& method) in IsInheritedMethod()
[all …]
/art/runtime/verifier/
Dmethod_verifier.h79 virtual void SetDontCompile(ArtMethod* method, bool value)
81 virtual void SetMustCountLocks(ArtMethod* method, bool value)
126 const dex::CodeItem* code_item, ArtMethod* method,
136 ArtMethod* method,
170 static void FindLocksAtDexPc(ArtMethod* m,
258 ArtMethod* method,
280 ArtMethod* method,
304 ArtMethod* method,
/art/openjdkjvmti/
Dti_breakpoint.cc58 JvmtiBreakpointReflectionSource(size_t pc, art::ArtMethod* m) in JvmtiBreakpointReflectionSource()
70 art::ArtMethod* m_;
83 art::ArtMethod* orig_method = it.GetMethod(); in VisitReflectiveTargets()
84 art::ArtMethod* am = visitor->VisitMethod( in VisitReflectiveTargets()
124 Breakpoint::Breakpoint(art::ArtMethod* m, jlocation loc) : method_(m), location_(loc) { in Breakpoint()
157 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method)->GetCanonicalMethod(); in SetBreakpoint()
181 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method)->GetCanonicalMethod(); in ClearBreakpoint()
/art/runtime/entrypoints/jni/
Djni_entrypoints.cc37 static inline uint32_t GetInvokeStaticMethodIndex(ArtMethod* caller, uint32_t dex_pc) in GetInvokeStaticMethodIndex()
54 ArtMethod* method = self->GetCurrentMethod(&dex_pc); in artFindNativeMethodRunnable()
62 ArtMethod* target_method = class_linker->ResolveMethod<ClassLinker::ResolveMode::kNoChecks>( in artFindNativeMethodRunnable()
86 ArtMethod** sp = self->GetManagedStack()->GetTopQuickFrameKnownNotTagged(); in artFindNativeMethodRunnable()
128 extern "C" size_t artCriticalNativeFrameSize(ArtMethod* method, uintptr_t caller_pc) in artCriticalNativeFrameSize()
162 ArtMethod* caller = in artCriticalNativeFrameSize()
/art/test/570-checker-osr/
Dosr.cc67 ArtMethod* m = stack_visitor->GetMethod(); in Java_Main_isInOsrCode()
89 ArtMethod* m = stack_visitor->GetMethod(); in Java_Main_isInInterpreter()
111 ArtMethod* m = stack_visitor->GetMethod(); in Java_Main_ensureHasProfilingInfo()
126 ArtMethod* m = stack_visitor->GetMethod(); in Java_Main_ensureHasOsrCode()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints_test.cc42 static ArtMethod* CreateCalleeSaveMethod(InstructionSet isa, CalleeSaveType type) in CreateCalleeSaveMethod()
51 ArtMethod* save_method = r->CreateCalleeSaveMethod(); in CreateCalleeSaveMethod()
59 ArtMethod* save_method = CreateCalleeSaveMethod(isa, type); in CheckPCOffset()
/art/test/708-jit-cache-churn/
Djit.cc44 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Java_JitCacheChurnTest_removeJitCompiledMethod()

1234567891011