/art/runtime/ |
D | art_method-inl.h | 51 inline ObjPtr<mirror::Class> ArtMethod::GetDeclaringClassUnchecked() { in GetDeclaringClassUnchecked() 57 inline ObjPtr<mirror::Class> ArtMethod::GetDeclaringClass() { in GetDeclaringClass() 69 inline void ArtMethod::SetDeclaringClass(ObjPtr<mirror::Class> new_declaring_class) { in SetDeclaringClass() 73 inline bool ArtMethod::CASDeclaringClass(ObjPtr<mirror::Class> expected_class, in CASDeclaringClass() 81 inline uint16_t ArtMethod::GetMethodIndex() { in GetMethodIndex() 86 inline uint16_t ArtMethod::GetMethodIndexDuringLinking() { in GetMethodIndexDuringLinking() 90 inline ObjPtr<mirror::Class> ArtMethod::LookupResolvedClassFromTypeIndex(dex::TypeIndex type_idx) { in LookupResolvedClassFromTypeIndex() 98 inline ObjPtr<mirror::Class> ArtMethod::ResolveClassFromTypeIndex(dex::TypeIndex type_idx) { in ResolveClassFromTypeIndex() 104 inline bool ArtMethod::CheckIncompatibleClassChange(InvokeType type) { in CheckIncompatibleClassChange() 129 inline bool ArtMethod::IsCalleeSaveMethod() { in IsCalleeSaveMethod() [all …]
|
D | cha.h | 31 class ArtMethod; variable 88 typedef std::pair<ArtMethod*, OatQuickMethodHeader*> MethodAndMethodHeaderPair; 95 void AddDependency(ArtMethod* method, 96 ArtMethod* dependent_method, 100 const ListOfDependentPairs& GetDependents(ArtMethod* method) REQUIRES(Locks::cha_lock_); 104 void RemoveAllDependenciesFor(ArtMethod* method) REQUIRES(Locks::cha_lock_); 134 ArtMethod* method, 146 ArtMethod* virtual_method, 147 ArtMethod* method_in_super, 148 std::unordered_set<ArtMethod*>& invalidated_single_impl_methods, [all …]
|
D | imt_conflict_table.h | 28 class ArtMethod; variable 46 ArtMethod* interface_method, in ImtConflictTable() 47 ArtMethod* implementation_method, in ImtConflictTable() 68 void SetInterfaceMethod(size_t index, PointerSize pointer_size, ArtMethod* method) { in SetInterfaceMethod() 72 void SetImplementationMethod(size_t index, PointerSize pointer_size, ArtMethod* method) { in SetImplementationMethod() 76 ArtMethod* GetInterfaceMethod(size_t index, PointerSize pointer_size) const { in GetInterfaceMethod() 80 ArtMethod* GetImplementationMethod(size_t index, PointerSize pointer_size) const { in GetImplementationMethod() 115 ArtMethod* interface_method = GetInterfaceMethod(table_index, pointer_size); in Visit() 119 ArtMethod* implementation_method = GetImplementationMethod(table_index, pointer_size); in Visit() 121 std::pair<ArtMethod*, ArtMethod*> updated = visitor(input); in Visit() [all …]
|
D | managed_stack.h | 36 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() 131 static TaggedTopQuickFrame CreateNotTagged(ArtMethod** sp) { in CreateNotTagged() 136 static TaggedTopQuickFrame CreateTagged(ArtMethod** sp) { in CreateTagged() 142 ArtMethod** GetSpKnownNotTagged() const { in GetSpKnownNotTagged() 145 return reinterpret_cast<ArtMethod**>(tagged_sp_); in GetSpKnownNotTagged() 148 ArtMethod** GetSp() const { in GetSp() [all …]
|
D | art_method.cc | 58 extern "C" void art_quick_invoke_stub(ArtMethod*, uint32_t*, uint32_t, Thread*, JValue*, 60 extern "C" void art_quick_invoke_static_stub(ArtMethod*, uint32_t*, uint32_t, Thread*, JValue*, 64 static_assert(ArtMethod::kRuntimeMethodDexMethodIndex == dex::kDexNoIndex, 67 ArtMethod* ArtMethod::GetCanonicalMethod(PointerSize pointer_size) { in GetCanonicalMethod() 73 ArtMethod* ret = declaring_class->FindInterfaceMethod(GetDexCache(), in GetCanonicalMethod() 81 ArtMethod* ArtMethod::GetNonObsoleteMethod() { in GetNonObsoleteMethod() 93 ArtMethod* ArtMethod::GetSingleImplementation(PointerSize pointer_size) { in GetSingleImplementation() 98 return reinterpret_cast<ArtMethod*>(GetDataPtrSize(pointer_size)); in GetSingleImplementation() 101 ArtMethod* ArtMethod::FromReflectedMethod(const ScopedObjectAccessAlreadyRunnable& soa, in FromReflectedMethod() 108 ObjPtr<mirror::DexCache> ArtMethod::GetObsoleteDexCache() { in GetObsoleteDexCache() [all …]
|
D | instrumentation.h | 39 class ArtMethod; variable 73 ArtMethod* method, 78 ArtMethod* method, 88 ArtMethod* method, 97 ArtMethod* method, 104 ArtMethod* method, 111 ArtMethod* method, 117 ArtMethod* method, 126 ArtMethod* method, 143 ArtMethod* method, [all …]
|
D | imtable.h | 31 class ArtMethod; variable 45 ArtMethod* Get(size_t index, PointerSize pointer_size) { in Get() 50 return reinterpret_cast32<ArtMethod*>(value); in Get() 53 return reinterpret_cast64<ArtMethod*>(value); in Get() 57 void Set(size_t index, ArtMethod* method, PointerSize pointer_size) { in Set() 71 void Populate(ArtMethod** data, PointerSize pointer_size) { in Populate() 82 ALWAYS_INLINE static inline void GetImtHashComponents(ArtMethod* method, 90 ALWAYS_INLINE static inline uint32_t GetImtIndex(ArtMethod* method)
|
D | trace.h | 44 class ArtMethod; variable 174 void CompareAndUpdateStackTrace(Thread* thread, std::vector<ArtMethod*>* stack_trace) 180 ArtMethod* method, 186 ArtMethod* method, 193 ArtMethod* method, 199 ArtMethod* method, 205 ArtMethod* method, 211 ArtMethod* method, 222 ArtMethod* method, 229 static std::vector<ArtMethod*>* AllocStackTrace(); [all …]
|
D | runtime-inl.h | 45 inline QuickMethodFrameInfo Runtime::GetRuntimeMethodFrameInfo(ArtMethod* method) { in GetRuntimeMethodFrameInfo() 66 inline ArtMethod* Runtime::GetResolutionMethod() { in GetResolutionMethod() 71 inline ArtMethod* Runtime::GetImtConflictMethod() { in GetImtConflictMethod() 76 inline ArtMethod* Runtime::GetImtUnimplementedMethod() { in GetImtUnimplementedMethod() 81 inline ArtMethod* Runtime::GetCalleeSaveMethod(CalleeSaveType type) in GetCalleeSaveMethod() 87 inline ArtMethod* Runtime::GetCalleeSaveMethodUnchecked(CalleeSaveType type) in GetCalleeSaveMethodUnchecked() 89 return reinterpret_cast64<ArtMethod*>(callee_save_methods_[static_cast<size_t>(type)]); in GetCalleeSaveMethodUnchecked()
|
D | cha.cc | 35 void ClassHierarchyAnalysis::AddDependency(ArtMethod* method, in AddDependency() 36 ArtMethod* dependent_method, in AddDependency() 46 ArtMethod* method) { in GetDependents() 54 void ClassHierarchyAnalysis::RemoveAllDependenciesFor(ArtMethod* method) { in RemoveAllDependenciesFor() 123 ArtMethod* method = in ResetSingleImplementationInHierarchy() 144 ArtMethod* super_method = super_it-> in ResetSingleImplementationInHierarchy() 170 ArtMethod* method = interface->GetVirtualMethod(j, pointer_size); in ResetSingleImplementationInHierarchy() 195 ArtMethod* method = GetMethod(); in VisitFrame() 283 ArtMethod* excluded_method) in VerifyNonSingleImplementation() 301 ArtMethod* verify_method = verify_class->GetVTableEntry(verify_index, image_pointer_size); in VerifyNonSingleImplementation() [all …]
|
D | imtable_test.cc | 74 std::pair<ArtMethod*, ArtMethod*> LoadMethods(const std::string& class_name, in LoadMethods() 81 ArtMethod* method_a = in LoadMethods() 83 ArtMethod* method_b = in LoadMethods() 93 std::pair<ArtMethod*, ArtMethod*> methods = LoadMethods("LInterfaces$A;", "foo"); in TEST_F() 100 std::pair<ArtMethod*, ArtMethod*> methods = LoadMethods("LInterfaces$Z;", "foo"); in TEST_F()
|
D | quick_exception_handler.h | 32 class ArtMethod; variable 85 void SetHandlerQuickFrame(ArtMethod** handler_quick_frame) { in SetHandlerQuickFrame() 101 ArtMethod* GetHandlerMethod() const { in GetHandlerMethod() 105 void SetHandlerMethod(ArtMethod* handler_quick_method) { in SetHandlerMethod() 150 ArtMethod** handler_quick_frame_; 158 ArtMethod* handler_method_;
|
D | stack.h | 34 class ArtMethod; variable 180 ArtMethod* GetMethod() const REQUIRES_SHARED(Locks::mutator_lock_); 184 void SetMethod(ArtMethod* method) REQUIRES(Locks::mutator_lock_); 186 ArtMethod* GetOuterMethod() const { in GetOuterMethod() 222 bool GetNextMethodAndDexPc(ArtMethod** next_method, uint32_t* next_dex_pc) 225 bool GetVReg(ArtMethod* m, uint16_t vreg, VRegKind kind, uint32_t* val) const 228 bool GetVRegPair(ArtMethod* m, uint16_t vreg, VRegKind kind_lo, VRegKind kind_hi, 234 bool SetVReg(ArtMethod* m, uint16_t vreg, uint32_t new_value, VRegKind kind) 239 bool SetVRegPair(ArtMethod* m, 264 ArtMethod** GetCurrentQuickFrame() const { in GetCurrentQuickFrame() [all …]
|
/art/runtime/mirror/ |
D | method.cc | 29 ObjPtr<Method> Method::CreateFromArtMethod(Thread* self, ArtMethod* method) { in CreateFromArtMethod() 39 Thread* self, ArtMethod* method); 41 Thread* self, ArtMethod* method); 43 Thread* self, ArtMethod* method); 45 Thread* self, ArtMethod* method); 48 ObjPtr<Constructor> Constructor::CreateFromArtMethod(Thread* self, ArtMethod* method) { in CreateFromArtMethod() 59 Thread* self, ArtMethod* method); 61 Thread* self, ArtMethod* method); 63 Thread* self, ArtMethod* method); 65 Thread* self, ArtMethod* method);
|
D | executable.cc | 26 bool Executable::CreateFromArtMethod(ArtMethod* method) { in CreateFromArtMethod() 37 template bool Executable::CreateFromArtMethod<PointerSize::k32, false>(ArtMethod* method); 38 template bool Executable::CreateFromArtMethod<PointerSize::k32, true>(ArtMethod* method); 39 template bool Executable::CreateFromArtMethod<PointerSize::k64, false>(ArtMethod* method); 40 template bool Executable::CreateFromArtMethod<PointerSize::k64, true>(ArtMethod* method);
|
D | executable.h | 27 class ArtMethod; variable 36 bool CreateFromArtMethod(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_) 40 ArtMethod* GetArtMethod() REQUIRES_SHARED(Locks::mutator_lock_) { in GetArtMethod() 41 return reinterpret_cast64<ArtMethod*>(GetField64<kVerifyFlags>(ArtMethodOffset())); in GetArtMethod() 47 void SetArtMethod(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_);
|
/art/runtime/entrypoints/ |
D | runtime_asm_entrypoints.h | 34 extern "C" void art_quick_imt_conflict_trampoline(ArtMethod*); 40 extern "C" void art_quick_to_interpreter_bridge(ArtMethod*); 46 extern "C" void art_invoke_obsolete_method_stub(ArtMethod*); 52 extern "C" void art_quick_generic_jni_trampoline(ArtMethod*); 64 extern "C" void art_quick_resolution_trampoline(ArtMethod*);
|
D | entrypoint_utils.h | 44 class ArtMethod; variable 81 ArtMethod* method, 93 ArtMethod* method, 131 ArtMethod* referrer, 138 inline ArtMethod* FindMethodFromCode(uint32_t method_idx, 140 ArtMethod* referrer, 147 ArtMethod* referrer, 154 inline ArtMethod* FindMethodFast(uint32_t method_idx, 156 ArtMethod* referrer) 160 ArtMethod* referrer, [all …]
|
D | entrypoint_utils.cc | 48 ArtMethod* method = self->GetCurrentMethod(nullptr); in CheckReferenceResult() 111 ArtMethod* interface_method = in InvokeProxyInvocationHandler() 134 ArtMethod* proxy_method = rcvr->GetClass()->FindVirtualMethodForInterface( in InvokeProxyInvocationHandler() 138 size_t method_size = ArtMethod::Size(kRuntimePointerSize); in InvokeProxyInvocationHandler() 182 static inline std::pair<ArtMethod*, uintptr_t> DoGetCalleeSaveMethodOuterCallerAndPc( in DoGetCalleeSaveMethodOuterCallerAndPc() 183 ArtMethod** sp, CalleeSaveType type) REQUIRES_SHARED(Locks::mutator_lock_) { in DoGetCalleeSaveMethodOuterCallerAndPc() 187 auto** caller_sp = reinterpret_cast<ArtMethod**>( in DoGetCalleeSaveMethodOuterCallerAndPc() 192 ArtMethod* outer_method = *caller_sp; in DoGetCalleeSaveMethodOuterCallerAndPc() 196 static inline ArtMethod* DoGetCalleeSaveMethodCaller(ArtMethod* outer_method, in DoGetCalleeSaveMethodCaller() 200 ArtMethod* caller = outer_method; in DoGetCalleeSaveMethodCaller() [all …]
|
/art/compiler/optimizing/ |
D | inliner.h | 81 ArtMethod* resolved_method, 88 ArtMethod* resolved_method, 94 ArtMethod* resolved_method, 107 ArtMethod* resolved_method, 113 ArtMethod* referrer, 117 ArtMethod* referrer, 126 ArtMethod* resolved_method) 166 ArtMethod* resolved_method, 172 ArtMethod* resolved_method, 177 ArtMethod* resolved_method, [all …]
|
/art/runtime/jit/ |
D | jit_code_cache.h | 37 class ArtMethod; variable 103 bool NotifyCompilationOf(ArtMethod* method, Thread* self, bool osr) 107 void NotifyMethodRedefined(ArtMethod* method) 115 ProfilingInfo* NotifyCompilerUse(ArtMethod* method, Thread* self) 119 void DoneCompiling(ArtMethod* method, Thread* self, bool osr) 123 void DoneCompilerUse(ArtMethod* method, Thread* self) 134 ArtMethod* method, 143 const ArenaSet<ArtMethod*>& cha_single_implementation_list) 152 bool WillExecuteJitCode(ArtMethod* method) REQUIRES(!lock_); 155 bool ContainsMethod(ArtMethod* method) REQUIRES(!lock_); [all …]
|
D | jit.h | 31 class ArtMethod; variable 173 bool CompileMethod(ArtMethod* method, Thread* self, bool baseline, bool osr) 194 void AddMemoryUsage(ArtMethod* method, size_t bytes) 227 void MethodEntered(Thread* thread, ArtMethod* method) 231 ArtMethod* method, 237 ArtMethod* caller, 239 ArtMethod* callee) 242 void NotifyInterpreterToCompiledCodeTransition(Thread* self, ArtMethod* caller) in NotifyInterpreterToCompiledCodeTransition() 247 void NotifyCompiledCodeToInterpreterTransition(Thread* self, ArtMethod* callee) in NotifyCompiledCodeToInterpreterTransition() 272 bool CanInvokeCompiledCode(ArtMethod* method); [all …]
|
/art/tools/cpp-define-generator/ |
D | art_method.def | 22 art::ArtMethod::AccessFlagsOffset().Int32Value()) 24 art::ArtMethod::DeclaringClassOffset().Int32Value()) 26 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k32).Int32Value()) 28 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k64).Int32Value()) 30 … art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(art::PointerSize::k32).Int32Value()) 32 … art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(art::PointerSize::k64).Int32Value())
|
/art/runtime/jni/ |
D | jni_internal.h | 28 class ArtMethod; variable 55 static inline jmethodID EncodeArtMethod(ArtMethod* art_method) { in EncodeArtMethod() 60 static inline ArtMethod* DecodeArtMethod(jmethodID method_id) { in DecodeArtMethod() 61 return reinterpret_cast<ArtMethod*>(method_id); in DecodeArtMethod()
|
/art/openjdkjvmti/ |
D | deopt_manager.h | 45 class ArtMethod; variable 60 bool IsMethodBeingInspected(art::ArtMethod* method) 63 bool IsMethodSafeToJit(art::ArtMethod* method) 66 bool MethodNeedsDebugVersion(art::ArtMethod* method) 88 bool MethodHasBreakpoints(art::ArtMethod* method) 91 void RemoveMethodBreakpoint(art::ArtMethod* method) 95 void AddMethodBreakpoint(art::ArtMethod* method) 135 bool MethodHasBreakpointsLocked(art::ArtMethod* method) 163 void PerformLimitedDeoptimization(art::Thread* self, art::ArtMethod* method) 167 void PerformLimitedUndeoptimization(art::Thread* self, art::ArtMethod* method) [all …]
|