Home
last modified time | relevance | path

Searched refs:ArtMethod (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/aosp12/art/runtime/
H A Dart_method-inl.h81 inline uint16_t ArtMethod::GetMethodIndex() { in GetMethodIndex()
131 inline bool ArtMethod::IsCalleeSaveMethod() { in IsCalleeSaveMethod()
146 inline bool ArtMethod::IsResolutionMethod() { in IsResolutionMethod()
160 inline const DexFile* ArtMethod::GetDexFile() { in GetDexFile()
176 inline const char* ArtMethod::GetShorty() { in GetShorty()
197 inline const char* ArtMethod::GetName() { in GetName()
320 inline bool ArtMethod::IsProxyMethod() { in IsProxyMethod()
327 inline ArtMethod* ArtMethod::GetInterfaceMethodForProxyUnchecked(PointerSize pointer_size) { in GetInterfaceMethodForProxyUnchecked()
334 inline ArtMethod* ArtMethod::GetInterfaceMethodIfProxy(PointerSize pointer_size) { in GetInterfaceMethodIfProxy()
420 inline uint16_t ArtMethod::GetCounter() { in GetCounter()
[all …]
H A Dcha.h31 class ArtMethod; variable
95 void AddDependency(ArtMethod* method,
96 ArtMethod* dependent_method,
134 ArtMethod* method,
146 ArtMethod* virtual_method,
147 ArtMethod* method_in_super,
148 std::unordered_set<ArtMethod*>& invalidated_single_impl_methods,
159 ArtMethod* interface_method,
160 ArtMethod* implementation_method,
161 std::unordered_set<ArtMethod*>& invalidated_single_impl_methods,
[all …]
H A Dart_method.cc70 ArtMethod* ArtMethod::GetCanonicalMethod(PointerSize pointer_size) { in GetCanonicalMethod()
84 ArtMethod* ArtMethod::GetNonObsoleteMethod() { in GetNonObsoleteMethod()
96 ArtMethod* ArtMethod::GetSingleImplementation(PointerSize pointer_size) { in GetSingleImplementation()
102 ArtMethod* m = reinterpret_cast<ArtMethod*>(GetDataPtrSize(pointer_size)); in GetSingleImplementation()
107 ArtMethod* ArtMethod::FromReflectedMethod(const ScopedObjectAccessAlreadyRunnable& soa, in FromReflectedMethod()
191 bool ArtMethod::HasSameNameAndSignature(ArtMethod* other) { in HasSameNameAndSignature()
207 ArtMethod* ArtMethod::FindOverriddenMethod(PointerSize pointer_size) { in FindOverriddenMethod()
214 ArtMethod* result = nullptr; in FindOverriddenMethod()
725 void ArtMethod::CopyFrom(ArtMethod* src, PointerSize image_pointer_size) { in CopyFrom()
780 std::string ArtMethod::PrettyMethod(ArtMethod* m, bool with_signature) { in PrettyMethod()
[all …]
H A Dimt_conflict_table.h28 class ArtMethod; variable
46 ArtMethod* interface_method, in ImtConflictTable()
47 ArtMethod* implementation_method, in ImtConflictTable()
76 ArtMethod* GetInterfaceMethod(size_t index, PointerSize pointer_size) const { in GetInterfaceMethod()
115 ArtMethod* interface_method = GetInterfaceMethod(table_index, pointer_size); in Visit()
121 std::pair<ArtMethod*, ArtMethod*> updated = visitor(input); in Visit()
134 ArtMethod* Lookup(ArtMethod* interface_method, PointerSize pointer_size) const { in Lookup()
188 ArtMethod* GetMethod(size_t index, PointerSize pointer_size) const { in GetMethod()
190 return reinterpret_cast64<ArtMethod*>(data64_[index]); in GetMethod()
192 return reinterpret_cast32<ArtMethod*>(data32_[index]); in GetMethod()
[all …]
H A Dinstrumentation.h41 class ArtMethod; variable
120 ArtMethod* method,
152 ArtMethod* method,
259 void Deoptimize(ArtMethod* method)
265 void Undeoptimize(ArtMethod* method)
269 bool IsDeoptimized(ArtMethod* method)
415 ArtMethod* method, in MethodExitEvent()
435 ArtMethod* method, in DexPcMovedEvent()
454 ArtMethod* method, in FieldReadEvent()
643 ArtMethod* BeginDeoptimizedMethod()
[all …]
H A Dnterp_helpers.h24 class ArtMethod; variable
29 size_t NterpGetFrameSize(ArtMethod* method, InstructionSet isa = kRuntimeISA)
36 QuickMethodFrameInfo NterpFrameInfo(ArtMethod** frame)
42 uint32_t NterpGetDexPC(ArtMethod** frame)
49 uintptr_t NterpGetReferenceArray(ArtMethod** frame)
56 uintptr_t NterpGetRegistersArray(ArtMethod** frame)
67 uint32_t NterpGetVReg(ArtMethod** frame, uint16_t vreg)
74 uint32_t NterpGetVRegReference(ArtMethod** frame, uint16_t vreg)
81 bool CanMethodUseNterp(ArtMethod* method, InstructionSet isa = kRuntimeISA)
H A Dtrace.h44 class ArtMethod; variable
180 ArtMethod* method,
186 ArtMethod* method,
194 ArtMethod* method,
200 ArtMethod* method,
206 ArtMethod* method,
212 ArtMethod* method,
223 ArtMethod* method,
230 static std::vector<ArtMethod*>* AllocStackTrace();
265 void LogMethodTraceEvent(Thread* thread, ArtMethod* method,
[all …]
H A Dreflective_handle_scope.h40 class ArtMethod; variable
148 ALWAYS_INLINE MutableReflectiveHandle<ArtMethod> NewMethodHandle(ArtMethod* m) in NewMethodHandle()
152 MutableReflectiveHandle<ArtMethod> mh(GetMutableMethodHandle(method_pos_++)); in NewMethodHandle()
156 ALWAYS_INLINE ReflectiveHandleWrapper<ArtMethod> NewReflectiveMethodHandleWrapper(ArtMethod** m) in NewReflectiveMethodHandleWrapper()
158 return ReflectiveHandleWrapper<ArtMethod>(m, NewMethodHandle(*m)); in NewReflectiveMethodHandleWrapper()
161 ALWAYS_INLINE ArtMethod* GetMethod(size_t i) { in GetMethod()
165 ALWAYS_INLINE ReflectiveHandle<ArtMethod> GetMethodHandle(size_t i) { in GetMethodHandle()
167 return ReflectiveHandle<ArtMethod>(GetMethodReference(i)); in GetMethodHandle()
171 return MutableReflectiveHandle<ArtMethod>(GetMethodReference(i)); in GetMutableMethodHandle()
183 ReflectiveReference<ArtMethod>* GetMethodReference(size_t i) { in GetMethodReference()
[all …]
H A Dmanaged_stack.h36 class ArtMethod; variable
70 ArtMethod** GetTopQuickFrameKnownNotTagged() const { in GetTopQuickFrameKnownNotTagged()
74 ArtMethod** GetTopQuickFrame() const { in GetTopQuickFrame()
86 void SetTopQuickFrame(ArtMethod** top) { in SetTopQuickFrame()
92 void SetTopQuickFrameTagged(ArtMethod** top) { in SetTopQuickFrameTagged()
127 static TaggedTopQuickFrame CreateNotTagged(ArtMethod** sp) { in CreateNotTagged()
132 static TaggedTopQuickFrame CreateTagged(ArtMethod** sp) { in CreateTagged()
138 ArtMethod** GetSpKnownNotTagged() const { in GetSpKnownNotTagged()
141 return reinterpret_cast<ArtMethod**>(tagged_sp_); in GetSpKnownNotTagged()
144 ArtMethod** GetSp() const { in GetSp()
[all …]
H A Dcha.cc35 void ClassHierarchyAnalysis::AddDependency(ArtMethod* method, in AddDependency()
46 ArtMethod* method) { in GetDependents()
123 ArtMethod* method = in ResetSingleImplementationInHierarchy()
144 ArtMethod* super_method = super_it-> in ResetSingleImplementationInHierarchy()
195 ArtMethod* method = GetMethod(); in VisitFrame()
327 ArtMethod* virtual_method, in CheckVirtualMethodSingleImplementationInfo()
328 ArtMethod* method_in_super, in CheckVirtualMethodSingleImplementationInfo()
473 ArtMethod* interface_method, in CheckInterfaceMethodSingleImplementationInfo()
474 ArtMethod* implementation_method, in CheckInterfaceMethodSingleImplementationInfo()
616 ArtMethod* implementation_method = in UpdateAfterLoadingOf()
[all …]
H A Dimtable.h28 class ArtMethod; variable
47 ArtMethod* Get(size_t index, PointerSize pointer_size) { in Get()
52 return reinterpret_cast32<ArtMethod*>(value); in Get()
55 return reinterpret_cast64<ArtMethod*>(value); in Get()
59 void Set(size_t index, ArtMethod* method, PointerSize pointer_size) { in Set()
73 void Populate(ArtMethod** data, PointerSize pointer_size) { in Populate()
84 ALWAYS_INLINE static inline void GetImtHashComponents(ArtMethod* method,
92 ALWAYS_INLINE static inline uint32_t GetImtIndex(ArtMethod* method)
H A Dclass_linker.h46 class ArtMethod; variable
354 ArtMethod* ResolveMethod(uint32_t method_idx,
363 ArtMethod* GetResolvedMethod(uint32_t method_idx, ArtMethod* referrer)
367 ArtMethod* ResolveMethod(Thread* self, uint32_t method_idx, ArtMethod* referrer, InvokeType type)
994 ArtMethod* dst)
1148 ArtMethod** out_imt)
1217 ArtMethod* target_method,
1229 ArtMethod** out_imt)
1241 void CheckProxyMethod(ArtMethod* method, ArtMethod* prototype) const
1254 void CreateProxyMethod(Handle<mirror::Class> klass, ArtMethod* prototype, ArtMethod* out)
[all …]
H A Dstack.h36 class ArtMethod; variable
182 ArtMethod* GetMethod() const REQUIRES_SHARED(Locks::mutator_lock_);
186 void SetMethod(ArtMethod* method) REQUIRES(Locks::mutator_lock_);
188 ArtMethod* GetOuterMethod() const { in GetOuterMethod()
227 bool GetVReg(ArtMethod* m,
251 bool SetVRegPair(ArtMethod* m,
277 ArtMethod** GetCurrentQuickFrame() const { in GetCurrentQuickFrame()
323 bool GetVRegFromOptimizedCode(ArtMethod* m,
334 bool GetVRegPairFromOptimizedCode(ArtMethod* m,
343 ShadowFrame* PrepareSetVReg(ArtMethod* m, uint16_t vreg, bool wide)
[all …]
/aosp12/art/runtime/jit/
H A Djit_code_cache.h41 class ArtMethod; variable
110 ArtMethod* method;
132 bool ContainsMethod(ArtMethod* method) const { in ContainsMethod()
198 bool NotifyCompilationOf(ArtMethod* method,
205 void NotifyMethodRedefined(ArtMethod* method)
221 void DoneCompilerUse(ArtMethod* method, Thread* self)
244 ArtMethod* method,
259 ArtMethod* method,
300 bool RemoveMethod(ArtMethod* method, bool release_memory)
316 ArtMethod* method,
[all …]
H A Dprofiling_info_test.cc47 std::vector<ArtMethod*> GetVirtualMethods(jobject class_loader, in GetVirtualMethods()
58 std::vector<ArtMethod*> methods; in GetVirtualMethods()
71 const std::vector<ArtMethod*>& methods, in SaveProfilingInfo()
76 for (ArtMethod* method : methods) { in SaveProfilingInfo()
102 const std::vector<ArtMethod*>& methods, in SaveProfilingInfoWithFakeInlineCaches()
108 for (ArtMethod* method : methods) { in SaveProfilingInfoWithFakeInlineCaches()
195 for (ArtMethod* m : main_methods) { in TEST_F()
215 for (ArtMethod* m : main_methods) { in TEST_F()
220 for (ArtMethod* m : second_methods) { in TEST_F()
242 SafeMap<ArtMethod*, ProfileMethodInfo> profile_methods_map; in TEST_F()
[all …]
H A Djit.h38 class ArtMethod; variable
276 void AddMemoryUsage(ArtMethod* method, size_t bytes)
314 void MethodEntered(Thread* thread, ArtMethod* method)
318 ArtMethod* method,
362 bool CanInvokeCompiledCode(ArtMethod* method);
377 ArtMethod* method,
438 bool CanEncodeMethod(ArtMethod* method, bool is_for_shared_region) const
454 void EnqueueOptimizedCompilation(ArtMethod* method, Thread* self);
456 void EnqueueCompilationFromNterp(ArtMethod* method, Thread* self)
463 bool IgnoreSamplesForMethod(ArtMethod* method)
[all …]
/aosp12/art/runtime/entrypoints/
H A Dentrypoint_utils.h44 class ArtMethod; variable
133 ArtMethod* referrer,
140 inline ArtMethod* FindMethodFromCode(uint32_t method_idx,
142 ArtMethod* referrer,
149 ArtMethod* referrer,
156 inline ArtMethod* FindMethodFast(uint32_t method_idx,
158 ArtMethod* referrer)
197 ArtMethod* GetCalleeSaveMethodCaller(ArtMethod** sp,
203 ArtMethod* caller;
204 ArtMethod* outer_method;
[all …]
H A Dentrypoint_utils.cc51 ArtMethod* method = self->GetCurrentMethod(nullptr); in CheckReferenceResult()
114 ArtMethod* interface_method = in InvokeProxyInvocationHandler()
141 size_t method_size = ArtMethod::Size(kRuntimePointerSize); in InvokeProxyInvocationHandler()
190 auto** caller_sp = reinterpret_cast<ArtMethod**>( in DoGetCalleeSaveMethodOuterCallerAndPc()
195 ArtMethod* outer_method = *caller_sp; in DoGetCalleeSaveMethodOuterCallerAndPc()
199 static inline ArtMethod* DoGetCalleeSaveMethodCaller(ArtMethod* outer_method, in DoGetCalleeSaveMethodCaller()
203 ArtMethod* caller = outer_method; in DoGetCalleeSaveMethodCaller()
237 ArtMethod* GetCalleeSaveMethodCaller(ArtMethod** sp, CalleeSaveType type, bool do_caller_check) in GetCalleeSaveMethodCaller()
241 ArtMethod* outer_method = outer_caller_and_pc.first; in GetCalleeSaveMethodCaller()
298 ArtMethod** method_entry = reinterpret_cast<ArtMethod**>(const_cast<uint8_t*>( in MaybeUpdateBssMethodEntry()
[all …]
H A Druntime_asm_entrypoints.h27 class ArtMethod; variable
41 extern "C" void art_quick_imt_conflict_trampoline(ArtMethod*);
47 extern "C" void art_quick_to_interpreter_bridge(ArtMethod*);
53 extern "C" void art_invoke_obsolete_method_stub(ArtMethod*);
59 extern "C" void art_quick_generic_jni_trampoline(ArtMethod*);
71 extern "C" void art_quick_resolution_trampoline(ArtMethod*);
98 extern "C" void art_quick_compile_optimized(ArtMethod*, Thread*);
H A Dentrypoint_utils-inl.h50 inline ArtMethod* GetResolvedMethod(ArtMethod* outer_method, in GetResolvedMethod()
79 ArtMethod* method = outer_method; in GetResolvedMethod()
230 ArtMethod* method, in CheckArrayAlloc()
314 ArtMethod* referrer, in FindFieldFromCode()
425 ALWAYS_INLINE ArtMethod* FindMethodToCall(uint32_t method_idx, in FindMethodToCall()
562 inline ArtMethod* FindMethodFromCode(uint32_t method_idx, in FindMethodFromCode()
564 ArtMethod* referrer, in FindMethodFromCode()
570 ArtMethod* resolved_method; in FindMethodFromCode()
646 inline ArtMethod* FindMethodFast(uint32_t method_idx, in FindMethodFast()
648 ArtMethod* referrer) { in FindMethodFast()
[all …]
/aosp12/art/tools/cpp-define-generator/
H A Dart_method.def23 art::ArtMethod::AccessFlagsOffset().Int32Value())
39 art::ArtMethod::DeclaringClassOffset().Int32Value())
41 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k32).Int32Value())
43 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k64).Int32Value())
45 art::ArtMethod::DataOffset(art::PointerSize::k32).Int32Value())
47 art::ArtMethod::DataOffset(art::PointerSize::k64).Int32Value())
49 … art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(art::PointerSize::k32).Int32Value())
51 … art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(art::PointerSize::k64).Int32Value())
53 art::ArtMethod::MethodIndexOffset().Int32Value())
55 art::ArtMethod::ImtIndexOffset().Int32Value())
[all …]
/aosp12/art/runtime/mirror/
H A Dclass-inl.h179 LengthPrefixedArray<ArtMethod>* methods = GetMethodsPtr(); in GetVirtualMethodsSliceUnchecked()
193 LengthPrefixedArray<ArtMethod>* methods = GetMethodsPtr(); in GetCopiedMethodsSliceUnchecked()
201 return reinterpret_cast<LengthPrefixedArray<ArtMethod>*>( in GetMethodsPtr()
213 LengthPrefixedArray<ArtMethod>* methods, in GetMethodsSliceRangeUnchecked()
221 return ArraySlice<ArtMethod>(); in GetMethodsSliceRangeUnchecked()
225 size_t method_size = ArtMethod::Size(pointer_size); in GetMethodsSliceRangeUnchecked()
617 inline ArtMethod* Class::FindVirtualMethodForInterface(ArtMethod* method, in FindVirtualMethodForInterface()
639 inline ArtMethod* Class::FindVirtualMethodForVirtual(ArtMethod* method, PointerSize pointer_size) { in FindVirtualMethodForVirtual()
647 inline ArtMethod* Class::FindVirtualMethodForSuper(ArtMethod* method, PointerSize pointer_size) { in FindVirtualMethodForSuper()
652 inline ArtMethod* Class::FindVirtualMethodForVirtualOrInterface(ArtMethod* method, in FindVirtualMethodForVirtualOrInterface()
[all …]
/aosp12/art/compiler/optimizing/
H A Dinliner.h79 ArtMethod* resolved_method,
85 ArtMethod* resolved_method,
91 ArtMethod* resolved_method,
111 ArtMethod* method,
126 art::ArtMethod* method,
149 ArtMethod* referrer,
153 ArtMethod* referrer,
169 ArtMethod* method,
218 ArtMethod* FindMethodFromCHA(ArtMethod* resolved_method)
240 bool ArgumentTypesMoreSpecific(HInvoke* invoke_instruction, ArtMethod* resolved_method)
[all …]
/aosp12/art/runtime/native/
H A Djava_lang_reflect_Executable.cc44 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Executable_getDeclaredAnnotationsNative()
61 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Executable_getAnnotationNative()
72 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Executable_getSignatureAnnotation()
82 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Executable_getParameterAnnotationsNative()
259 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Executable_isAnnotationPresentNative()
272 ArtMethod* this_method = ArtMethod::FromReflectedMethod(soa, thisMethod); in Executable_compareMethodParametersInternal()
273 ArtMethod* other_method = ArtMethod::FromReflectedMethod(soa, otherMethod); in Executable_compareMethodParametersInternal()
323 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Executable_getMethodNameInternal()
330 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Executable_getMethodReturnTypeInternal()
343 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Executable_getParameterTypesInternal()
[all …]
/aosp12/art/runtime/entrypoints/quick/
H A Dquick_trampoline_entrypoints.cc239 static ArtMethod* GetCallingMethod(ArtMethod** sp) REQUIRES_SHARED(Locks::mutator_lock_) { in GetCallingMethod()
244 static ArtMethod* GetOuterMethod(ArtMethod** sp) REQUIRES_SHARED(Locks::mutator_lock_) { in GetOuterMethod()
255 ArtMethod** caller_sp = reinterpret_cast<ArtMethod**>( in GetCallingDexPc()
647 extern "C" uint64_t artQuickToInterpreterBridge(ArtMethod* method, Thread* self, ArtMethod** sp) in artQuickToInterpreterBridge()
808 ArtMethod* proxy_method, mirror::Object* receiver, Thread* self, ArtMethod** sp) in artQuickProxyInvokeHandler()
933 ArtMethod* proxy_method = *sp; in artQuickGetProxyReferenceArgumentAt()
977 ArtMethod* proxy_method = *sp; in GetProxyReferenceArguments()
1220 ArtMethod* called, mirror::Object* receiver, Thread* self, ArtMethod** sp) in artQuickResolutionTrampoline()
1237 ArtMethod* caller = nullptr; in artQuickResolutionTrampoline()
2073 ArtMethod* called = *managed_sp; in artQuickGenericJniTrampoline()
[all …]

12345678910>>...12