Home
last modified time | relevance | path

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

1234567

/art/runtime/mirror/
Dart_method-inl.h39 inline uint32_t ArtMethod::ClassSize() { in ClassSize()
45 inline Class* ArtMethod::GetJavaLangReflectArtMethod() { in GetJavaLangReflectArtMethod()
50 inline Class* ArtMethod::GetDeclaringClass() { in GetDeclaringClass()
51 Class* result = GetFieldObject<Class>(OFFSET_OF_OBJECT_MEMBER(ArtMethod, declaring_class_)); in GetDeclaringClass()
57 inline void ArtMethod::SetDeclaringClass(Class *new_declaring_class) { in SetDeclaringClass()
58 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ArtMethod, declaring_class_), in SetDeclaringClass()
62 inline uint32_t ArtMethod::GetAccessFlags() { in GetAccessFlags()
64 return GetField32(OFFSET_OF_OBJECT_MEMBER(ArtMethod, access_flags_)); in GetAccessFlags()
67 inline uint16_t ArtMethod::GetMethodIndex() { in GetMethodIndex()
69 return GetField32(OFFSET_OF_OBJECT_MEMBER(ArtMethod, method_index_)); in GetMethodIndex()
[all …]
Dart_method.cc41 extern "C" void art_portable_invoke_stub(ArtMethod*, uint32_t*, uint32_t, Thread*, JValue*, char);
42 extern "C" void art_quick_invoke_stub(ArtMethod*, uint32_t*, uint32_t, Thread*, JValue*,
45 extern "C" void art_quick_invoke_static_stub(ArtMethod*, uint32_t*, uint32_t, Thread*, JValue*,
50 GcRoot<Class> ArtMethod::java_lang_reflect_ArtMethod_;
52 ArtMethod* ArtMethod::FromReflectedMethod(const ScopedObjectAccessAlreadyRunnable& soa, in FromReflectedMethod()
56 mirror::ArtMethod* method = f->GetObject(soa.Decode<mirror::Object*>(jlr_method))->AsArtMethod(); in FromReflectedMethod()
62 void ArtMethod::VisitRoots(RootCallback* callback, void* arg) { in VisitRoots()
66 InvokeType ArtMethod::GetInvokeType() { in GetInvokeType()
79 void ArtMethod::SetClass(Class* java_lang_reflect_ArtMethod) { in SetClass()
85 void ArtMethod::ResetClass() { in ResetClass()
[all …]
Dclass-inl.h67 inline ObjectArray<ArtMethod>* Class::GetDirectMethods() { in GetDirectMethods()
69 return GetFieldObject<ObjectArray<ArtMethod>>(OFFSET_OF_OBJECT_MEMBER(Class, direct_methods_)); in GetDirectMethods()
72 inline void Class::SetDirectMethods(ObjectArray<ArtMethod>* new_direct_methods) in SetDirectMethods()
74 DCHECK(NULL == GetFieldObject<ObjectArray<ArtMethod>>( in SetDirectMethods()
80 inline ArtMethod* Class::GetDirectMethod(int32_t i) { in GetDirectMethod()
84 inline void Class::SetDirectMethod(uint32_t i, ArtMethod* f) // TODO: uint16_t in SetDirectMethod()
86 ObjectArray<ArtMethod>* direct_methods = in SetDirectMethod()
87 GetFieldObject<ObjectArray<ArtMethod>>(OFFSET_OF_OBJECT_MEMBER(Class, direct_methods_)); in SetDirectMethod()
97 inline ObjectArray<ArtMethod>* Class::GetVirtualMethods() { in GetVirtualMethods()
99 return GetFieldObject<ObjectArray<ArtMethod>>(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_)); in GetVirtualMethods()
[all …]
Dart_method.h48 class MANAGED ArtMethod FINAL : public Object {
53 static ArtMethod* FromReflectedMethod(const ScopedObjectAccessAlreadyRunnable& soa,
62 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, declaring_class_)); in DeclaringClassOffset()
69 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(ArtMethod, access_flags_), new_access_flags); in SetAccessFlags()
178 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(ArtMethod, method_index_), new_method_index); in SetMethodIndex()
182 return OFFSET_OF_OBJECT_MEMBER(ArtMethod, method_index_); in MethodIndexOffset()
186 return GetField32(OFFSET_OF_OBJECT_MEMBER(ArtMethod, dex_code_item_offset_)); in GetCodeItemOffset()
191 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(ArtMethod, dex_code_item_offset_), new_code_off); in SetCodeItemOffset()
201 SetField32<false>(OFFSET_OF_OBJECT_MEMBER(ArtMethod, dex_method_index_), new_idx); in SetDexMethodIndex()
205 return OFFSET_OF_OBJECT_MEMBER(ArtMethod, dex_cache_resolved_methods_); in DexCacheResolvedMethodsOffset()
[all …]
Dclass.h79 class ArtMethod; variable
94 HeapReference<ArtMethod> method;
99 HeapReference<ArtMethod> method;
582 bool CanAccessResolvedMethod(Class* access_to, ArtMethod* resolved_method,
586 bool CheckResolvedMethodAccess(Class* access_to, ArtMethod* resolved_method,
654 ALWAYS_INLINE ObjectArray<ArtMethod>* GetDirectMethods()
657 void SetDirectMethods(ObjectArray<ArtMethod>* new_direct_methods)
660 ALWAYS_INLINE ArtMethod* GetDirectMethod(int32_t i) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
662 void SetDirectMethod(uint32_t i, ArtMethod* f) // TODO: uint16_t
669 ALWAYS_INLINE ObjectArray<ArtMethod>* GetVirtualMethods()
[all …]
Diftable.h37 ObjectArray<ArtMethod>* GetMethodArray(int32_t i) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetMethodArray()
38 ObjectArray<ArtMethod>* method_array = in GetMethodArray()
39 down_cast<ObjectArray<ArtMethod>*>(Get((i * kMax) + kMethodArray)); in GetMethodArray()
45 ObjectArray<ArtMethod>* method_array = in GetMethodArrayCount()
46 down_cast<ObjectArray<ArtMethod>*>(Get((i * kMax) + kMethodArray)); in GetMethodArrayCount()
53 void SetMethodArray(int32_t i, ObjectArray<ArtMethod>* new_ma) in SetMethodArray()
Dclass.cc85 Handle<mirror::ArtMethod> old_throw_method(hs.NewHandle(old_throw_location.GetMethod())); in SetStatus()
361 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const StringPiece& signature) { in FindInterfaceMethod()
363 ArtMethod* method = FindDeclaredVirtualMethod(name, signature); in FindInterfaceMethod()
379 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const Signature& signature) { in FindInterfaceMethod()
381 ArtMethod* method = FindDeclaredVirtualMethod(name, signature); in FindInterfaceMethod()
397 ArtMethod* Class::FindInterfaceMethod(const DexCache* dex_cache, uint32_t dex_method_idx) { in FindInterfaceMethod()
399 ArtMethod* method = FindDeclaredVirtualMethod(dex_cache, dex_method_idx); in FindInterfaceMethod()
415 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const StringPiece& signature) { in FindDeclaredDirectMethod()
417 ArtMethod* method = GetDirectMethod(i); in FindDeclaredDirectMethod()
425 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const Signature& signature) { in FindDeclaredDirectMethod()
[all …]
/art/runtime/entrypoints/
Dentrypoint_utils.h35 class ArtMethod; variable
45 mirror::ArtMethod* method,
60 mirror::ArtMethod* method,
68 mirror::ArtMethod* method,
76 … mirror::ArtMethod* method,
84 mirror::ArtMethod* method,
95 mirror::ArtMethod* method,
103 mirror::ArtMethod* method,
109 extern mirror::Array* CheckAndAllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* method,
116 mirror::ArtMethod* method,
[all …]
/art/runtime/
Dinstrumentation.h34 class ArtMethod; variable
62 mirror::ArtMethod* method,
69 mirror::ArtMethod* method, uint32_t dex_pc,
76 mirror::ArtMethod* method, uint32_t dex_pc)
81 mirror::ArtMethod* method, uint32_t new_dex_pc)
85 virtual void FieldRead(Thread* thread, mirror::Object* this_object, mirror::ArtMethod* method,
89 virtual void FieldWritten(Thread* thread, mirror::Object* this_object, mirror::ArtMethod* method,
94 mirror::ArtMethod* catch_method, uint32_t catch_dex_pc,
155 void Deoptimize(mirror::ArtMethod* method)
162 void Undeoptimize(mirror::ArtMethod* method)
[all …]
Dtrace.h37 class ArtMethod; variable
74 void CompareAndUpdateStackTrace(Thread* thread, std::vector<mirror::ArtMethod*>* stack_trace)
79 mirror::ArtMethod* method, uint32_t dex_pc)
82 mirror::ArtMethod* method, uint32_t dex_pc,
86 mirror::ArtMethod* method, uint32_t dex_pc)
89 mirror::ArtMethod* method, uint32_t new_dex_pc)
92 mirror::ArtMethod* method, uint32_t dex_pc, mirror::ArtField* field)
95 mirror::ArtMethod* method, uint32_t dex_pc, mirror::ArtField* field,
99 mirror::ArtMethod* catch_method, uint32_t catch_dex_pc,
104 static std::vector<mirror::ArtMethod*>* AllocStackTrace();
[all …]
Druntime-inl.h26 inline QuickMethodFrameInfo Runtime::GetRuntimeMethodFrameInfo(mirror::ArtMethod* method) { in GetRuntimeMethodFrameInfo()
42 inline mirror::ArtMethod* Runtime::GetResolutionMethod() { in GetResolutionMethod()
47 inline mirror::ArtMethod* Runtime::GetImtConflictMethod() { in GetImtConflictMethod()
52 inline mirror::ArtMethod* Runtime::GetImtUnimplementedMethod() { in GetImtUnimplementedMethod()
57 inline mirror::ObjectArray<mirror::ArtMethod>* Runtime::GetDefaultImt() in GetDefaultImt()
63 inline mirror::ArtMethod* Runtime::GetCalleeSaveMethod(CalleeSaveType type) in GetCalleeSaveMethod()
69 inline mirror::ArtMethod* Runtime::GetCalleeSaveMethodUnchecked(CalleeSaveType type) in GetCalleeSaveMethodUnchecked()
Druntime.h48 class ArtMethod; variable
303 mirror::ArtMethod* GetResolutionMethod() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
309 void SetResolutionMethod(mirror::ArtMethod* method) { in SetResolutionMethod()
310 resolution_method_ = GcRoot<mirror::ArtMethod>(method); in SetResolutionMethod()
313 mirror::ArtMethod* CreateResolutionMethod() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
316 mirror::ArtMethod* GetImtConflictMethod() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
317 mirror::ArtMethod* GetImtUnimplementedMethod() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
323 void SetImtConflictMethod(mirror::ArtMethod* method) { in SetImtConflictMethod()
324 imt_conflict_method_ = GcRoot<mirror::ArtMethod>(method); in SetImtConflictMethod()
326 void SetImtUnimplementedMethod(mirror::ArtMethod* method) { in SetImtUnimplementedMethod()
[all …]
Dquick_exception_handler.h27 class ArtMethod; variable
52 void SetHandlerQuickFrame(StackReference<mirror::ArtMethod>* handler_quick_frame) { in SetHandlerQuickFrame()
60 mirror::ArtMethod* GetHandlerMethod() const { in GetHandlerMethod()
64 void SetHandlerMethod(mirror::ArtMethod* handler_quick_method) { in SetHandlerMethod()
91 StackReference<mirror::ArtMethod>* handler_quick_frame_;
95 mirror::ArtMethod* handler_method_;
Dtrace.cc92 mirror::ArtMethod* m = GetMethod(); in VisitFrame()
101 std::vector<mirror::ArtMethod*>* GetStackTrace() const { in GetStackTrace()
106 std::vector<mirror::ArtMethod*>* const method_trace_;
121 std::unique_ptr<std::vector<mirror::ArtMethod*>> Trace::temp_stack_trace_;
123 static mirror::ArtMethod* DecodeTraceMethodId(uint32_t tmid) { in DecodeTraceMethodId()
124 return reinterpret_cast<mirror::ArtMethod*>(tmid & ~kTraceMethodActionMask); in DecodeTraceMethodId()
131 static uint32_t EncodeTraceMethodAndAction(mirror::ArtMethod* method, in EncodeTraceMethodAndAction()
138 std::vector<mirror::ArtMethod*>* Trace::AllocStackTrace() { in AllocStackTrace()
142 return new std::vector<mirror::ArtMethod*>(); in AllocStackTrace()
146 void Trace::FreeStackTrace(std::vector<mirror::ArtMethod*>* stack_trace) { in FreeStackTrace()
[all …]
Dcommon_throws.h26 class ArtMethod; variable
36 void ThrowAbstractMethodError(mirror::ArtMethod* method)
78 mirror::ArtMethod* called,
82 void ThrowIllegalAccessErrorMethod(mirror::Class* referrer, mirror::ArtMethod* accessed)
88 void ThrowIllegalAccessErrorFinalField(mirror::ArtMethod* referrer, mirror::ArtField* accessed)
108 mirror::ArtMethod* method, mirror::ArtMethod* referrer)
111 void ThrowIncompatibleClassChangeErrorClassForInterfaceDispatch(mirror::ArtMethod* interface_method,
113 mirror::ArtMethod* referrer)
117 mirror::ArtMethod* referrer)
175 mirror::ArtMethod* method,
Dstack.h34 class ArtMethod; variable
133 mirror::ArtMethod* method, uint32_t dex_pc) { in Create()
140 mirror::ArtMethod* method, uint32_t dex_pc, void* memory) { in Create()
301 mirror::ArtMethod* GetMethod() const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetMethod()
306 mirror::ArtMethod** GetMethodAddress() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetMethodAddress()
317 void SetMethod(mirror::ArtMethod* method) { in SetMethod()
359 ShadowFrame(uint32_t num_vregs, ShadowFrame* link, mirror::ArtMethod* method, in ShadowFrame()
394 mirror::ArtMethod* method_;
442 StackReference<mirror::ArtMethod>* GetTopQuickFrame() const { in GetTopQuickFrame()
446 void SetTopQuickFrame(StackReference<mirror::ArtMethod>* top) { in SetTopQuickFrame()
[all …]
Doat_file-inl.h25 const void* code = mirror::ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetOatQuickMethodHeader()
42 const void* code = mirror::ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetQuickCodeSize()
58 const void* code = mirror::ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetFrameSizeInBytes()
66 const void* code = mirror::ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetCoreSpillMask()
74 const void* code = mirror::ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetFpSpillMask()
82 const void* code = mirror::ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetGcMap()
133 const void* code = mirror::ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetMappingTable()
145 const void* code = mirror::ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetVmapTable()
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc29 mirror::ArtMethod* referrer, in artInitializeStaticStorageFromCode()
31 StackReference<mirror::ArtMethod>* sp) in artInitializeStaticStorageFromCode()
41 mirror::ArtMethod* referrer, in artInitializeTypeFromCode()
43 StackReference<mirror::ArtMethod>* sp) in artInitializeTypeFromCode()
51 mirror::ArtMethod* referrer, in artInitializeTypeAndVerifyAccessFromCode()
53 StackReference<mirror::ArtMethod>* sp) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in artInitializeTypeAndVerifyAccessFromCode()
60 extern "C" mirror::String* artResolveStringFromCode(mirror::ArtMethod* referrer, in artResolveStringFromCode()
63 StackReference<mirror::ArtMethod>* sp) in artResolveStringFromCode()
Dquick_field_entrypoints.cc29 mirror::ArtMethod* referrer, in artGet32StaticFromCode()
30 Thread* self, StackReference<mirror::ArtMethod>* sp) in artGet32StaticFromCode()
46 mirror::ArtMethod* referrer, in artGet64StaticFromCode()
47 Thread* self, StackReference<mirror::ArtMethod>* sp) in artGet64StaticFromCode()
63 mirror::ArtMethod* referrer, in artGetObjStaticFromCode()
65 StackReference<mirror::ArtMethod>* sp) in artGetObjStaticFromCode()
82 mirror::ArtMethod* referrer, Thread* self, in artGet32InstanceFromCode()
83 StackReference<mirror::ArtMethod>* sp) in artGet32InstanceFromCode()
105 mirror::ArtMethod* referrer, Thread* self, in artGet64InstanceFromCode()
106 StackReference<mirror::ArtMethod>* sp) in artGet64InstanceFromCode()
[all …]
Dquick_alloc_entrypoints.cc30 uint32_t type_idx, mirror::ArtMethod* method, Thread* self, \
31 StackReference<mirror::ArtMethod>* sp) \
37 mirror::Class* klass, mirror::ArtMethod* method, Thread* self, \
38 StackReference<mirror::ArtMethod>* sp) \
44 mirror::Class* klass, mirror::ArtMethod* method, Thread* self, \
45 StackReference<mirror::ArtMethod>* sp) \
51 uint32_t type_idx, mirror::ArtMethod* method, Thread* self, \
52 StackReference<mirror::ArtMethod>* sp) \
58 uint32_t type_idx, mirror::ArtMethod* method, int32_t component_count, Thread* self, \
59 StackReference<mirror::ArtMethod>* sp) \
[all …]
Dquick_throw_entrypoints.cc28 StackReference<mirror::ArtMethod>* sp) in artDeliverPendingExceptionFromCode()
36 StackReference<mirror::ArtMethod>* sp) in artDeliverExceptionFromCode()
58 StackReference<mirror::ArtMethod>* sp) in artThrowNullPointerExceptionFromCode()
69 extern "C" void artThrowDivZeroFromCode(Thread* self, StackReference<mirror::ArtMethod>* sp) in artThrowDivZeroFromCode()
78 StackReference<mirror::ArtMethod>*sp) in artThrowArrayBoundsFromCode()
85 extern "C" void artThrowStackOverflowFromCode(Thread* self, StackReference<mirror::ArtMethod>* sp) in artThrowStackOverflowFromCode()
95 StackReference<mirror::ArtMethod>* sp) in artThrowNoSuchMethodFromCode()
103 Thread* self, StackReference<mirror::ArtMethod>* sp) in artThrowClassCastException()
112 Thread* self, StackReference<mirror::ArtMethod>* sp) in artThrowArrayStoreException()
/art/runtime/entrypoints/portable/
Dportable_invoke_entrypoints.cc25 mirror::ArtMethod* FindMethodHelper(uint32_t method_idx, mirror::Object* this_object, in FindMethodHelper()
26 mirror::ArtMethod* caller_method, Thread* self) { in FindMethodHelper()
27 mirror::ArtMethod* method = FindMethodFast(method_idx, this_object, caller_method, in FindMethodHelper()
57 mirror::ArtMethod* FindMethodHelper<_type, _access_check>(uint32_t method_idx, \
59 mirror::ArtMethod* caller_method, \
76 … mirror::ArtMethod* referrer, in art_portable_find_static_method_from_code_with_access_check()
84 … mirror::ArtMethod* referrer, in art_portable_find_direct_method_from_code_with_access_check()
92 … mirror::ArtMethod* referrer, in art_portable_find_virtual_method_from_code_with_access_check()
100 … mirror::ArtMethod* referrer, in art_portable_find_super_method_from_code_with_access_check()
108 … mirror::ArtMethod* referrer, in art_portable_find_interface_method_from_code_with_access_check()
[all …]
Dportable_entrypoints.h25 class ArtMethod; variable
37 void (*pPortableImtConflictTrampoline)(mirror::ArtMethod*);
38 void (*pPortableResolutionTrampoline)(mirror::ArtMethod*);
39 void (*pPortableToInterpreterBridge)(mirror::ArtMethod*);
Dportable_alloc_entrypoints.cc27 mirror::ArtMethod* referrer, in art_portable_alloc_object_from_code()
34 … mirror::ArtMethod* referrer, in art_portable_alloc_object_from_code_with_access_check()
41 mirror::ArtMethod* referrer, in art_portable_alloc_array_from_code()
50 … mirror::ArtMethod* referrer, in art_portable_alloc_array_from_code_with_access_check()
59 mirror::ArtMethod* referrer, in art_portable_check_and_alloc_array_from_code()
68 … mirror::ArtMethod* referrer, in art_portable_check_and_alloc_array_from_code_with_access_check()
Dportable_dexcache_entrypoints.cc25 … mirror::ArtMethod* referrer, in art_portable_initialize_static_storage_from_code()
32 mirror::ArtMethod* referrer, in art_portable_initialize_type_from_code()
39 … mirror::ArtMethod* referrer, in art_portable_initialize_type_and_verify_access_from_code()
47 extern "C" mirror::Object* art_portable_resolve_string_from_code(mirror::ArtMethod* referrer, in art_portable_resolve_string_from_code()

1234567