Home
last modified time | relevance | path

Searched refs:ArtMethod (Results 26 – 50 of 272) sorted by relevance

1234567891011

/art/runtime/dex/
Ddex_file_annotations.h32 class ArtMethod; variable
49 ObjPtr<mirror::Object> GetAnnotationDefaultValue(ArtMethod* method)
51 ObjPtr<mirror::Object> GetAnnotationForMethod(ArtMethod* method,
54 ObjPtr<mirror::ObjectArray<mirror::Object>> GetAnnotationsForMethod(ArtMethod* method)
56 ObjPtr<mirror::ObjectArray<mirror::Class>> GetExceptionTypesForMethod(ArtMethod* method)
58 ObjPtr<mirror::ObjectArray<mirror::Object>> GetParameterAnnotations(ArtMethod* method)
60 uint32_t GetNumberOfAnnotatedMethodParameters(ArtMethod* method)
62 ObjPtr<mirror::Object> GetAnnotationForMethodParameter(ArtMethod* method,
67 ArtMethod* method,
70 ObjPtr<mirror::ObjectArray<mirror::String>> GetSignatureAnnotationForMethod(ArtMethod* method)
[all …]
/art/runtime/native/
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()
163 ArtMethod* art_method = executable.Get()->GetArtMethod(); in Executable_getParameters0()
213 ArtMethod* parameter_init = in Executable_getParameters0()
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()
[all …]
/art/compiler/jit/
Djit_logger.h28 class ArtMethod; variable
98 void WriteLog(const void* ptr, size_t code_size, ArtMethod* method) in WriteLog()
112 void WritePerfMapLog(const void* ptr, size_t code_size, ArtMethod* method)
118 void WriteJitDumpLog(const void* ptr, size_t code_size, ArtMethod* method)
/art/runtime/
Dcommon_throws.h32 class ArtMethod; variable
39 void ThrowAbstractMethodError(ArtMethod* method)
97 ArtMethod* called,
101 void ThrowIllegalAccessErrorMethod(ObjPtr<mirror::Class> referrer, ArtMethod* accessed)
107 void ThrowIllegalAccessErrorFinalField(ArtMethod* referrer, ArtField* accessed)
133 ArtMethod* method,
134 ArtMethod* referrer)
137 void ThrowIncompatibleClassChangeErrorClassForInterfaceSuper(ArtMethod* method,
140 ArtMethod* referrer)
143 void ThrowIncompatibleClassChangeErrorClassForInterfaceDispatch(ArtMethod* interface_method,
[all …]
Dimage-inl.h68 const size_t method_alignment = ArtMethod::Alignment(pointer_size); in VisitPackedArtMethods()
69 const size_t method_size = ArtMethod::Size(pointer_size); in VisitPackedArtMethods()
72 auto* array = reinterpret_cast<LengthPrefixedArray<ArtMethod>*>(base + methods.Offset() + pos); in VisitPackedArtMethods()
80 auto* method = reinterpret_cast<ArtMethod*>(base + runtime_methods.Offset() + pos); in VisitPackedArtMethods()
94 ArtMethod* orig = imt->Get(i, pointer_size); in VisitPackedImTables()
95 ArtMethod* updated = visitor(orig); in VisitPackedImTables()
111 table->Visit([&visitor](const std::pair<ArtMethod*, ArtMethod*>& methods) { in VisitPackedImtConflictTables()
Dmonitor_android.cc36 ArtMethod* owner_method, in LogContentionEvent()
73 ArtMethod* m = self->GetCurrentMethod(&pc); in LogContentionEvent()
84 ctx << ArtMethod::PrettyMethod(m); in LogContentionEvent()
100 ctx << ArtMethod::PrettyMethod(owner_method); in LogContentionEvent()
Dclass_linker.h46 class ArtMethod; variable
96 using MethodDexCachePair = NativeDexCachePair<ArtMethod>;
254 ArtMethod* referrer)
278 ObjPtr<mirror::Class> ResolveType(dex::TypeIndex type_idx, ArtMethod* referrer)
299 ObjPtr<mirror::Class> LookupResolvedType(dex::TypeIndex type_idx, ArtMethod* referrer)
318 ArtMethod* LookupResolvedMethod(uint32_t method_idx,
324 ArtMethod* FindResolvedMethod(ObjPtr<mirror::Class> klass,
333 ArtMethod* FindIncompatibleMethod(ObjPtr<mirror::Class> klass,
344 ArtMethod* ResolveMethod(uint32_t method_idx,
347 ArtMethod* referrer,
[all …]
Dreflective_value_visitor.h41 class ArtMethod; variable
51 virtual ArtMethod* VisitMethod(ArtMethod* in, const ReflectionSourceInfo& info)
59 std::is_same_v<T, ArtMethod>>>
64 static_assert(std::is_same_v<T, ArtMethod>, "Expected ArtField or ArtMethod"); in operator()
78 ArtMethod* VisitMethod(ArtMethod* in, const ReflectionSourceInfo& info) override in VisitMethod()
/art/runtime/mirror/
Dexecutable.cc26 void Executable::InitializeFromArtMethod(ArtMethod* method) { in InitializeFromArtMethod()
41 template void Executable::InitializeFromArtMethod<PointerSize::k32>(ArtMethod* method);
42 template void Executable::InitializeFromArtMethod<PointerSize::k64>(ArtMethod* method);
Dexecutable.h27 class ArtMethod; variable
36 ArtMethod* GetArtMethod() REQUIRES_SHARED(Locks::mutator_lock_) { in GetArtMethod()
37 return reinterpret_cast64<ArtMethod*>(GetField64<kVerifyFlags>(ArtMethodOffset())); in GetArtMethod()
46 void SetArtMethod(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_);
57 void InitializeFromArtMethod(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_)
Dexecutable-inl.h32 inline void Executable::SetArtMethod(ArtMethod* method) { in SetArtMethod()
44 ArtMethod* orig = GetArtMethod<kVerifiyFlags>(); in VisitTarget()
45 ArtMethod* new_target = v->VisitMethod(orig, hrsi); in VisitTarget()
Dclass.h54 class ArtMethod; variable
633 ArtMethod* resolved_method,
638 ArtMethod* resolved_method,
703 ALWAYS_INLINE ArraySlice<ArtMethod> GetDirectMethods(PointerSize pointer_size)
706 ALWAYS_INLINE LengthPrefixedArray<ArtMethod>* GetMethodsPtr()
713 ALWAYS_INLINE ArraySlice<ArtMethod> GetMethods(PointerSize pointer_size)
716 void SetMethodsPtr(LengthPrefixedArray<ArtMethod>* new_methods,
721 void SetMethodsPtrUnchecked(LengthPrefixedArray<ArtMethod>* new_methods,
727 ALWAYS_INLINE ArraySlice<ArtMethod> GetDirectMethodsSlice(PointerSize pointer_size)
730 ALWAYS_INLINE ArtMethod* GetDirectMethod(size_t i, PointerSize pointer_size)
[all …]
/art/openjdkjvmti/
Dti_breakpoint.h41 class ArtMethod; variable
54 Breakpoint(art::ArtMethod* m, jlocation loc);
63 art::ArtMethod* GetMethod() const { in GetMethod()
72 art::ArtMethod* method_;
/art/runtime/jit/
Dprofiling_info.h28 class ArtMethod; variable
68 static bool Create(Thread* self, ArtMethod* method, bool retry_allocation)
78 ArtMethod* GetMethod() const { in GetMethod()
127 ProfilingInfo(ArtMethod* method, const std::vector<uint32_t>& entries);
137 ArtMethod* method_;
Dprofiling_info_test.cc46 std::vector<ArtMethod*> GetVirtualMethods(jobject class_loader, in GetVirtualMethods()
57 std::vector<ArtMethod*> methods; in GetVirtualMethods()
70 const std::vector<ArtMethod*>& methods, in SaveProfilingInfo()
75 for (ArtMethod* method : methods) { in SaveProfilingInfo()
101 const std::vector<ArtMethod*>& methods, in SaveProfilingInfoWithFakeInlineCaches()
103 /*out*/ SafeMap<ArtMethod*, ProfileMethodInfo>* profile_methods_map) { in SaveProfilingInfoWithFakeInlineCaches() argument
107 for (ArtMethod* method : methods) { in SaveProfilingInfoWithFakeInlineCaches()
211 std::vector<ArtMethod*> main_methods = GetVirtualMethods(class_loader, "LMain;"); in TEST_F()
223 for (ArtMethod* m : main_methods) { in TEST_F()
231 std::vector<ArtMethod*> second_methods = GetVirtualMethods(class_loader, "LSecond;"); in TEST_F()
[all …]
Djit_code_cache.cc69 explicit JniStubKey(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_) in REQUIRES_SHARED()
97 void UpdateShorty(ArtMethod* method) const REQUIRES_SHARED(Locks::mutator_lock_) { in UpdateShorty()
127 for (ArtMethod* m : GetMethods()) { in UpdateEntryPoints()
166 void AddMethod(ArtMethod* method) { in AddMethod()
172 const std::vector<ArtMethod*>& GetMethods() const { in GetMethods()
180 [&alloc](ArtMethod* method) { return !alloc.ContainsUnsafe(method); }); in RemoveMethodsIn()
187 bool RemoveMethod(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_) { in RemoveMethod()
198 void MoveObsoleteMethod(ArtMethod* old_method, ArtMethod* new_method) { in MoveObsoleteMethod()
204 std::vector<ArtMethod*> methods_;
289 bool JitCodeCache::WillExecuteJitCode(ArtMethod* method) { in WillExecuteJitCode()
[all …]
/art/compiler/dex/
Dinline_method_analyser.h38 class ArtMethod; variable
103 static bool AnalyseMethodCode(ArtMethod* method, InlineMethod* result)
129 ArtMethod* method,
137 ArtMethod* method,
143 ArtMethod* method,
149 static bool ComputeSpecialAccessorInfo(ArtMethod* method,
/art/runtime/interpreter/
Dshadow_frame.cc24 ArtMethod* m = GetMethod(); in GetThisObject()
30 CHECK(m->GetCodeItem() != nullptr) << ArtMethod::PrettyMethod(m); in GetThisObject()
38 ArtMethod* m = GetMethod(); in GetThisObject()
/art/runtime/jni/
Djni_internal.h33 class ArtMethod; variable
50 ArtMethod* FindMethodJNI(const ScopedObjectAccess& soa,
114 static inline jmethodID EncodeArtMethod(ReflectiveHandle<ArtMethod> art_method) in EncodeArtMethod()
125 static inline jmethodID EncodeArtMethod(ArtMethod* art_method) in EncodeArtMethod()
136 static inline ArtMethod* DecodeArtMethod(jmethodID method_id) { in DecodeArtMethod()
140 return reinterpret_cast<ArtMethod*>(method_id); in DecodeArtMethod()
/art/test/1945-proxy-method-arguments/
Dget_args.cc61 ArtMethod* method = *quick_frame_; in VisitQuickFrameAtSearchedDepth()
67 ArtMethod** GetQuickFrame() { in GetQuickFrame()
77 ArtMethod** quick_frame_;
84 ArtMethod** sp)
94 ArtMethod** quick_frame = visitor.GetQuickFrame(); in GetProxyReferenceArgument()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h50 inline ArtMethod* GetResolvedMethod(ArtMethod* outer_method, in GetResolvedMethod()
71 ArtMethod* inlined_method = jni::DecodeArtMethod(WellKnownClasses::java_lang_String_charAt); in GetResolvedMethod()
79 ArtMethod* method = outer_method; in GetResolvedMethod()
84 ArtMethod* inlined_method = class_linker->LookupResolvedMethod(method_index, in GetResolvedMethod()
230 ArtMethod* method, in CheckArrayAlloc()
267 ArtMethod* method, in AllocArrayFromCode()
314 ArtMethod* referrer, in FindFieldFromCode()
330 ArtMethod* method = referrer->GetInterfaceMethodIfProxy(kRuntimePointerSize); in FindFieldFromCode()
403 ArtMethod* referrer, \
425 ALWAYS_INLINE ArtMethod* FindMethodToCall(uint32_t method_idx, in FindMethodToCall()
[all …]
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc35 static void StoreObjectInBss(ArtMethod* outer_method, in StoreObjectInBss()
80 static inline void StoreTypeInBss(ArtMethod* outer_method, in StoreTypeInBss()
98 static inline void StoreStringInBss(ArtMethod* outer_method, in StoreStringInBss()
116 static ALWAYS_INLINE bool CanReferenceBss(ArtMethod* outer_method, ArtMethod* caller) in CanReferenceBss()
159 ArtMethod* caller = caller_and_outer.caller; in artResolveTypeFromCode()
177 ArtMethod* caller = caller_and_outer.caller; in artResolveTypeAndVerifyAccessFromCode()
193 ArtMethod* caller = caller_and_outer.caller; in artResolveMethodHandleFromCode()
203 ArtMethod* caller = caller_and_outer.caller; in artResolveMethodTypeFromCode()
213 ArtMethod* caller = caller_and_outer.caller; in artResolveStringFromCode()
Dquick_trampoline_entrypoints.cc228 static StackReference<mirror::Object>* GetProxyThisObjectReference(ArtMethod** sp) in GetProxyThisObjectReference()
239 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()
248 return *reinterpret_cast<ArtMethod**>(previous_sp); in GetOuterMethod()
251 static uint32_t GetCallingDexPc(ArtMethod** sp) REQUIRES_SHARED(Locks::mutator_lock_) { in GetCallingDexPc()
255 ArtMethod** caller_sp = reinterpret_cast<ArtMethod**>( in GetCallingDexPc()
276 static uint8_t* GetCallingPcAddr(ArtMethod** sp) REQUIRES_SHARED(Locks::mutator_lock_) { in GetCallingPcAddr()
284 static uintptr_t GetCallingPc(ArtMethod** sp) REQUIRES_SHARED(Locks::mutator_lock_) { in GetCallingPc()
288 QuickArgumentVisitor(ArtMethod** sp, bool is_static, const char* shorty, in QuickArgumentVisitor()
294 + sizeof(ArtMethod*)), // Skip ArtMethod*. in QuickArgumentVisitor()
[all …]
/art/runtime/interpreter/mterp/
Dnterp_stub.cc25 class ArtMethod;
37 bool CanMethodUseNterp(ArtMethod* method ATTRIBUTE_UNUSED) { in CanMethodUseNterp()
/art/compiler/optimizing/
Doptimizing_compiler.h25 class ArtMethod; variable
34 bool EncodeArtMethodInInlineInfo(ArtMethod* method);

1234567891011