/art/runtime/ |
D | art_method-inl.h | 39 inline mirror::Class* ArtMethod::GetDeclaringClassUnchecked() { in GetDeclaringClassUnchecked() 43 inline mirror::Class* ArtMethod::GetDeclaringClassNoBarrier() { in GetDeclaringClassNoBarrier() 47 inline mirror::Class* ArtMethod::GetDeclaringClass() { in GetDeclaringClass() 61 inline void ArtMethod::SetDeclaringClass(mirror::Class* new_declaring_class) { in SetDeclaringClass() 65 inline uint32_t ArtMethod::GetAccessFlags() { in GetAccessFlags() 71 inline uint16_t ArtMethod::GetMethodIndex() { in GetMethodIndex() 77 inline uint16_t ArtMethod::GetMethodIndexDuringLinking() { in GetMethodIndexDuringLinking() 81 inline uint32_t ArtMethod::GetDexMethodIndex() { in GetDexMethodIndex() 87 inline mirror::PointerArray* ArtMethod::GetDexCacheResolvedMethods() { in GetDexCacheResolvedMethods() 91 inline ArtMethod* ArtMethod::GetDexCacheResolvedMethod(uint16_t method_index, size_t ptr_size) { in GetDexCacheResolvedMethod() [all …]
|
D | trace.h | 39 class ArtMethod; variable 145 void CompareAndUpdateStackTrace(Thread* thread, std::vector<ArtMethod*>* stack_trace) 150 ArtMethod* method, uint32_t dex_pc) 153 ArtMethod* method, uint32_t dex_pc, 157 ArtMethod* method, uint32_t dex_pc) 160 ArtMethod* method, uint32_t new_dex_pc) 163 ArtMethod* method, uint32_t dex_pc, ArtField* field) 166 ArtMethod* method, uint32_t dex_pc, ArtField* field, 171 void BackwardBranch(Thread* thread, ArtMethod* method, int32_t dex_pc_offset) 174 static std::vector<ArtMethod*>* AllocStackTrace(); [all …]
|
D | instrumentation.h | 37 class ArtMethod; variable 65 ArtMethod* method, 70 ArtMethod* method, uint32_t dex_pc, 77 ArtMethod* method, uint32_t dex_pc) 82 ArtMethod* method, uint32_t new_dex_pc) 86 virtual void FieldRead(Thread* thread, mirror::Object* this_object, ArtMethod* method, 90 virtual void FieldWritten(Thread* thread, mirror::Object* this_object, ArtMethod* method, 98 virtual void BackwardBranch(Thread* thread, ArtMethod* method, int32_t dex_pc_offset) 165 void Deoptimize(ArtMethod* method) 172 void Undeoptimize(ArtMethod* method) [all …]
|
D | runtime-inl.h | 37 inline QuickMethodFrameInfo Runtime::GetRuntimeMethodFrameInfo(ArtMethod* method) { in GetRuntimeMethodFrameInfo() 53 inline ArtMethod* Runtime::GetResolutionMethod() { in GetResolutionMethod() 58 inline ArtMethod* Runtime::GetImtConflictMethod() { in GetImtConflictMethod() 63 inline ArtMethod* Runtime::GetImtUnimplementedMethod() { in GetImtUnimplementedMethod() 68 inline ArtMethod* Runtime::GetCalleeSaveMethod(CalleeSaveType type) in GetCalleeSaveMethod() 74 inline ArtMethod* Runtime::GetCalleeSaveMethodUnchecked(CalleeSaveType type) in GetCalleeSaveMethodUnchecked() 76 return reinterpret_cast<ArtMethod*>(callee_save_methods_[type]); in GetCalleeSaveMethodUnchecked()
|
D | quick_exception_handler.h | 30 class ArtMethod; variable 51 void SetHandlerQuickFrame(ArtMethod** handler_quick_frame) { in SetHandlerQuickFrame() 59 ArtMethod* GetHandlerMethod() const { in GetHandlerMethod() 63 void SetHandlerMethod(ArtMethod* handler_quick_method) { in SetHandlerMethod() 90 ArtMethod** handler_quick_frame_; 94 ArtMethod* handler_method_;
|
D | art_method.cc | 43 extern "C" void art_quick_invoke_stub(ArtMethod*, uint32_t*, uint32_t, Thread*, JValue*, 46 extern "C" void art_quick_invoke_static_stub(ArtMethod*, uint32_t*, uint32_t, Thread*, JValue*, 50 ArtMethod* ArtMethod::FromReflectedMethod(const ScopedObjectAccessAlreadyRunnable& soa, in FromReflectedMethod() 57 mirror::String* ArtMethod::GetNameAsString(Thread* self) { in GetNameAsString() 68 InvokeType ArtMethod::GetInvokeType() { in GetInvokeType() 81 size_t ArtMethod::NumArgRegisters(const StringPiece& shorty) { in NumArgRegisters() 95 static bool HasSameNameAndSignature(ArtMethod* method1, ArtMethod* method2) in HasSameNameAndSignature() 112 ArtMethod* ArtMethod::FindOverriddenMethod(size_t pointer_size) { in FindOverriddenMethod() 119 ArtMethod* result = nullptr; in FindOverriddenMethod() 127 result = GetDexCacheResolvedMethods()->GetElementPtrSize<ArtMethod*>( in FindOverriddenMethod() [all …]
|
D | common_throws.h | 29 class ArtMethod; variable 35 void ThrowAbstractMethodError(ArtMethod* method) 77 ArtMethod* called, 81 void ThrowIllegalAccessErrorMethod(mirror::Class* referrer, ArtMethod* accessed) 87 void ThrowIllegalAccessErrorFinalField(ArtMethod* referrer, ArtField* accessed) 107 ArtMethod* method, ArtMethod* referrer) 110 void ThrowIncompatibleClassChangeErrorClassForInterfaceDispatch(ArtMethod* interface_method, 112 ArtMethod* referrer) 116 ArtMethod* referrer) 178 void ThrowNullPointerExceptionForMethodAccess(ArtMethod* method,
|
D | oat_file-inl.h | 25 const void* code = ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetOatQuickMethodHeader() 42 const void* code = ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetQuickCodeSize() 58 const void* code = ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetFrameSizeInBytes() 66 const void* code = ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetCoreSpillMask() 74 const void* code = ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetFpSpillMask() 82 const void* code = ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetGcMap() 133 const void* code = ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetMappingTable() 145 const void* code = ArtMethod::EntryPointToCodePointer(GetQuickCode()); in GetVmapTable()
|
D | stack.h | 37 class ArtMethod; variable 78 ArtMethod* method, uint32_t dex_pc) { in CreateDeoptimizedFrame() 91 ArtMethod* method, uint32_t dex_pc, void* memory) { in Create() 241 ArtMethod* GetMethod() const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetMethod() 282 ShadowFrame(uint32_t num_vregs, ShadowFrame* link, ArtMethod* method, in ShadowFrame() 306 ArtMethod* method_; 354 ArtMethod** GetTopQuickFrame() const { in GetTopQuickFrame() 358 void SetTopQuickFrame(ArtMethod** top) { in SetTopQuickFrame() 401 ArtMethod** top_quick_frame_; 428 ArtMethod* GetMethod() const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetMethod() [all …]
|
D | class_linker.h | 189 mirror::String* ResolveString(uint32_t string_idx, ArtMethod* referrer) 207 mirror::Class* ResolveType(uint16_t type_idx, ArtMethod* referrer) 227 ArtMethod* ResolveMethod(const DexFile& dex_file, uint32_t method_idx, 229 Handle<mirror::ClassLoader> class_loader, ArtMethod* referrer, 233 ArtMethod* GetResolvedMethod(uint32_t method_idx, ArtMethod* referrer) 235 ArtMethod* ResolveMethod(Thread* self, uint32_t method_idx, ArtMethod* referrer, InvokeType type) 242 ArtField* ResolveField(uint32_t field_idx, ArtMethod* referrer, bool is_static) 267 const char* MethodShorty(uint32_t method_idx, ArtMethod* referrer, uint32_t* length) 322 void FixupDexCaches(ArtMethod* resolution_method) 359 ArtMethod* AllocArtMethodArray(Thread* self, size_t length); [all …]
|
D | art_method.h | 49 class ArtMethod FINAL { 51 ArtMethod() : access_flags_(0), dex_code_item_offset_(0), dex_method_index_(0), in ArtMethod() function 54 ArtMethod(const ArtMethod& src, size_t image_pointer_size) { in ArtMethod() function 58 static ArtMethod* FromReflectedMethod(const ScopedObjectAccessAlreadyRunnable& soa, 74 return MemberOffset(OFFSETOF_MEMBER(ArtMethod, declaring_class_)); in DeclaringClassOffset() 198 return OFFSET_OF_OBJECT_MEMBER(ArtMethod, dex_method_index_); in DexMethodIndexOffset() 202 return OFFSET_OF_OBJECT_MEMBER(ArtMethod, method_index_); in MethodIndexOffset() 225 return OFFSET_OF_OBJECT_MEMBER(ArtMethod, dex_cache_resolved_methods_); in DexCacheResolvedMethodsOffset() 229 return OFFSET_OF_OBJECT_MEMBER(ArtMethod, dex_cache_resolved_types_); in DexCacheResolvedTypesOffset() 234 ALWAYS_INLINE ArtMethod* GetDexCacheResolvedMethod(uint16_t method_idx, size_t ptr_size) [all …]
|
/art/runtime/jit/ |
D | jit_instrumentation.h | 39 class ArtMethod; variable 49 void AddSamples(Thread* self, ArtMethod* method, size_t samples) 51 void SignalCompiled(Thread* self, ArtMethod* method) 70 ArtMethod* method, uint32_t /*dex_pc*/) in MethodEntered() 75 ArtMethod* /*method*/, uint32_t /*dex_pc*/, in MethodExited() argument 79 ArtMethod* /*method*/, uint32_t /*dex_pc*/) OVERRIDE { } in MethodUnwind() argument 81 ArtMethod* /*method*/, uint32_t /*dex_pc*/, in FieldRead() argument 84 ArtMethod* /*method*/, uint32_t /*dex_pc*/, in FieldWritten() argument 91 ArtMethod* /*method*/, uint32_t /*new_dex_pc*/) OVERRIDE { } in DexPcMoved() argument 94 virtual void BackwardBranch(Thread* thread, ArtMethod* method, int32_t dex_pc_offset) in BackwardBranch()
|
D | jit_code_cache.h | 34 class ArtMethod; variable 80 bool ContainsMethod(ArtMethod* method) const 95 const void* GetCodeFor(ArtMethod* method) 100 void SaveCompiledCode(ArtMethod* method, const void* old_code_ptr) 127 SafeMap<ArtMethod*, const void*> method_code_map_ GUARDED_BY(lock_);
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.h | 40 class ArtMethod; variable 46 ArtMethod* method, 61 ArtMethod* method, 84 ArtMethod* method, 95 ArtMethod* method, 103 ArtMethod* method, 109 ArtMethod* method, Thread* self, 116 ArtMethod* method, 136 uint32_t field_idx, ArtMethod* referrer, Thread* self, size_t expected_size) 140 inline ArtMethod* FindMethodFromCode( [all …]
|
D | runtime_asm_entrypoints.h | 32 extern "C" void art_quick_imt_conflict_trampoline(ArtMethod*); 38 extern "C" void art_quick_to_interpreter_bridge(ArtMethod*); 44 extern "C" void art_quick_generic_jni_trampoline(ArtMethod*); 56 extern "C" void art_quick_resolution_trampoline(ArtMethod*);
|
/art/runtime/mirror/ |
D | class-inl.h | 64 inline ArtMethod* Class::GetDirectMethodsPtr() { in GetDirectMethodsPtr() 69 inline ArtMethod* Class::GetDirectMethodsPtrUnchecked() { in GetDirectMethodsPtrUnchecked() 70 return reinterpret_cast<ArtMethod*>(GetField64(OFFSET_OF_OBJECT_MEMBER(Class, direct_methods_))); in GetDirectMethodsPtrUnchecked() 73 inline ArtMethod* Class::GetVirtualMethodsPtrUnchecked() { in GetVirtualMethodsPtrUnchecked() 74 return reinterpret_cast<ArtMethod*>(GetField64(OFFSET_OF_OBJECT_MEMBER(Class, virtual_methods_))); in GetVirtualMethodsPtrUnchecked() 77 inline void Class::SetDirectMethodsPtr(ArtMethod* new_direct_methods) { in SetDirectMethodsPtr() 82 inline void Class::SetDirectMethodsPtrUnchecked(ArtMethod* new_direct_methods) { in SetDirectMethodsPtrUnchecked() 87 inline ArtMethod* Class::GetDirectMethodUnchecked(size_t i, size_t pointer_size) { in GetDirectMethodUnchecked() 91 return reinterpret_cast<ArtMethod*>(reinterpret_cast<uintptr_t>(methods) + in GetDirectMethodUnchecked() 92 ArtMethod::ObjectSize(pointer_size) * i); in GetDirectMethodUnchecked() [all …]
|
D | class.h | 41 class ArtMethod; variable 604 bool CanAccessResolvedMethod(Class* access_to, ArtMethod* resolved_method, 608 bool CheckResolvedMethodAccess(Class* access_to, ArtMethod* resolved_method, 676 ALWAYS_INLINE StrideIterator<ArtMethod> DirectMethodsBegin(size_t pointer_size) 679 ALWAYS_INLINE StrideIterator<ArtMethod> DirectMethodsEnd(size_t pointer_size) 682 ALWAYS_INLINE IterationRange<StrideIterator<ArtMethod>> GetDirectMethods(size_t pointer_size) 685 ArtMethod* GetDirectMethodsPtr() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);\ 687 void SetDirectMethodsPtr(ArtMethod* new_direct_methods) 690 void SetDirectMethodsPtrUnchecked(ArtMethod* new_direct_methods) 693 ALWAYS_INLINE ArtMethod* GetDirectMethod(size_t i, size_t pointer_size) [all …]
|
D | abstract_method.cc | 24 bool AbstractMethod::CreateFromArtMethod(ArtMethod* method) { in CreateFromArtMethod() 35 ArtMethod* AbstractMethod::GetArtMethod() { in GetArtMethod() 36 return reinterpret_cast<ArtMethod*>(GetField64(ArtMethodOffset())); in GetArtMethod() 39 void AbstractMethod::SetArtMethod(ArtMethod* method) { in SetArtMethod()
|
D | abstract_method.h | 29 class ArtMethod; variable 37 bool CreateFromArtMethod(ArtMethod* method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 39 ArtMethod* GetArtMethod() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 41 void SetArtMethod(ArtMethod* method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
D | class.cc | 348 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const StringPiece& signature, in FindInterfaceMethod() 351 ArtMethod* method = FindDeclaredVirtualMethod(name, signature, pointer_size); in FindInterfaceMethod() 367 ArtMethod* Class::FindInterfaceMethod(const StringPiece& name, const Signature& signature, in FindInterfaceMethod() 370 ArtMethod* method = FindDeclaredVirtualMethod(name, signature, pointer_size); in FindInterfaceMethod() 386 ArtMethod* Class::FindInterfaceMethod(const DexCache* dex_cache, uint32_t dex_method_idx, in FindInterfaceMethod() 389 ArtMethod* method = FindDeclaredVirtualMethod(dex_cache, dex_method_idx, pointer_size); in FindInterfaceMethod() 406 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const StringPiece& signature, in FindDeclaredDirectMethod() 416 ArtMethod* Class::FindDeclaredDirectMethod(const StringPiece& name, const Signature& signature, in FindDeclaredDirectMethod() 426 ArtMethod* Class::FindDeclaredDirectMethod(const DexCache* dex_cache, uint32_t dex_method_idx, in FindDeclaredDirectMethod() 438 ArtMethod* Class::FindDirectMethod(const StringPiece& name, const StringPiece& signature, in FindDirectMethod() [all …]
|
/art/runtime/entrypoints/quick/ |
D | quick_alloc_entrypoints.cc | 32 uint32_t type_idx, ArtMethod* method, Thread* self) \ 59 mirror::Class* klass, ArtMethod* method, Thread* self) \ 86 mirror::Class* klass, ArtMethod* method, Thread* self) \ 111 uint32_t type_idx, ArtMethod* method, Thread* self) \ 117 uint32_t type_idx, int32_t component_count, ArtMethod* method, Thread* self) \ 124 mirror::Class* klass, int32_t component_count, ArtMethod* method, Thread* self) \ 131 uint32_t type_idx, int32_t component_count, ArtMethod* method, Thread* self) \ 138 uint32_t type_idx, int32_t component_count, ArtMethod* method, Thread* self) \ 148 uint32_t type_idx, int32_t component_count, ArtMethod* method, Thread* self) \ 196 extern "C" void* art_quick_alloc_array##suffix(uint32_t, int32_t, ArtMethod* ref); \ [all …]
|
D | quick_entrypoints_list.h | 23 V(AllocArray, void*, uint32_t, int32_t, ArtMethod*) \ 24 V(AllocArrayResolved, void*, mirror::Class*, int32_t, ArtMethod*) \ 25 V(AllocArrayWithAccessCheck, void*, uint32_t, int32_t, ArtMethod*) \ 26 V(AllocObject, void*, uint32_t, ArtMethod*) \ 27 V(AllocObjectResolved, void*, mirror::Class*, ArtMethod*) \ 28 V(AllocObjectInitialized, void*, mirror::Class*, ArtMethod*) \ 29 V(AllocObjectWithAccessCheck, void*, uint32_t, ArtMethod*) \ 30 V(CheckAndAllocArray, void*, uint32_t, int32_t, ArtMethod*) \ 31 V(CheckAndAllocArrayWithAccessCheck, void*, uint32_t, int32_t, ArtMethod*) \ 80 V(QuickGenericJniTrampoline, void, ArtMethod*) \ [all …]
|
D | quick_field_entrypoints.cc | 28 extern "C" int8_t artGetByteStaticFromCode(uint32_t field_idx, ArtMethod* referrer, in artGetByteStaticFromCode() 43 extern "C" uint8_t artGetBooleanStaticFromCode(uint32_t field_idx, ArtMethod* referrer, in artGetBooleanStaticFromCode() 58 extern "C" int16_t artGetShortStaticFromCode(uint32_t field_idx, ArtMethod* referrer, in artGetShortStaticFromCode() 74 ArtMethod* referrer, in artGetCharStaticFromCode() 90 ArtMethod* referrer, in artGet32StaticFromCode() 106 ArtMethod* referrer, in artGet64StaticFromCode() 122 ArtMethod* referrer, in artGetObjStaticFromCode() 140 ArtMethod* referrer, Thread* self) in artGetByteInstanceFromCode() 160 ArtMethod* referrer, Thread* self) in artGetBooleanInstanceFromCode() 179 ArtMethod* referrer, Thread* self) in artGetShortInstanceFromCode() [all …]
|
/art/runtime/verifier/ |
D | method_verifier.h | 155 const DexFile::CodeItem* code_item, ArtMethod* method, 159 static FailureKind VerifyMethod(ArtMethod* method, bool allow_soft_failures, 187 static void FindLocksAtDexPc(ArtMethod* m, uint32_t dex_pc, 193 static ArtField* FindAccessedFieldAtDexPc(ArtMethod* m, uint32_t dex_pc) 198 static ArtMethod* FindInvokedMethodAtDexPc(ArtMethod* m, uint32_t dex_pc) 201 static SafeMap<uint32_t, std::set<uint32_t>> FindStringInitMap(ArtMethod* m) 214 ArtMethod* method, in MethodVerifier() 254 ArtMethod* GetQuickInvokedMethod(const Instruction* inst, RegisterLine* reg_line, 285 ArtMethod* method, uint32_t access_flags, 312 ArtMethod* method, uint32_t method_access_flags, [all …]
|
/art/compiler/jit/ |
D | jit_compiler.h | 31 class ArtMethod; variable 40 bool CompileMethod(Thread* self, ArtMethod* method) 44 bool AddToCodeCache(ArtMethod* method, const CompiledMethod* compiled_method, 65 bool MakeExecutable(CompiledMethod* compiled_method, ArtMethod* method)
|