Home
last modified time | relevance | path

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

12345678910>>...12

/art/runtime/
Dart_method-inl.h51 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()
131 inline bool ArtMethod::IsCalleeSaveMethod() { in IsCalleeSaveMethod()
[all …]
Dcha.h31 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 …]
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)
Dimt_conflict_table.h28 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 …]
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 …]
Dart_method.cc61 extern "C" void art_quick_invoke_stub(ArtMethod*, uint32_t*, uint32_t, Thread*, JValue*,
63 extern "C" void art_quick_invoke_static_stub(ArtMethod*, uint32_t*, uint32_t, Thread*, JValue*,
67 static_assert(ArtMethod::kRuntimeMethodDexMethodIndex == dex::kDexNoIndex,
70 ArtMethod* ArtMethod::GetCanonicalMethod(PointerSize pointer_size) { in GetCanonicalMethod()
76 ArtMethod* ret = declaring_class->FindInterfaceMethod(GetDexCache(), 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()
114 ObjPtr<mirror::DexCache> ArtMethod::GetObsoleteDexCache() { in GetObsoleteDexCache()
[all …]
Dreflective_handle_scope.h40 class ArtMethod; variable
107 (kHasMethods && std::is_same_v<T, ArtMethod>)>>
112 static_assert(std::is_same_v<T, ArtMethod>, "Expected ArtField or ArtMethod"); in NewHandle()
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()
[all …]
Dinstrumentation.h41 class ArtMethod; variable
80 ArtMethod* method,
85 ArtMethod* method,
96 ArtMethod* method,
106 ArtMethod* method,
113 ArtMethod* method,
120 ArtMethod* method,
126 ArtMethod* method,
135 ArtMethod* method,
152 ArtMethod* method,
[all …]
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)
Dtrace.h44 class ArtMethod; variable
174 void CompareAndUpdateStackTrace(Thread* thread, std::vector<ArtMethod*>* stack_trace)
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();
[all …]
Dcha.cc35 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 …]
Druntime-inl.h45 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()
Dimtable_test.cc74 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()
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()
224 bool GetNextMethodAndDexPc(ArtMethod** next_method, uint32_t* next_dex_pc)
227 bool GetVReg(ArtMethod* m,
235 bool GetVRegPair(ArtMethod* m, uint16_t vreg, VRegKind kind_lo, VRegKind kind_hi,
241 bool SetVReg(ArtMethod* m, uint16_t vreg, uint32_t new_value, VRegKind kind)
246 bool SetVRegReference(ArtMethod* m, uint16_t vreg, ObjPtr<mirror::Object> new_value)
251 bool SetVRegPair(ArtMethod* m,
[all …]
/art/runtime/entrypoints/
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*);
Dentrypoint_utils.h44 class ArtMethod; variable
83 ArtMethod* method,
95 ArtMethod* method,
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)
162 ArtMethod* referrer,
[all …]
Dentrypoint_utils.cc51 ArtMethod* method = self->GetCurrentMethod(nullptr); in CheckReferenceResult()
114 ArtMethod* interface_method = in InvokeProxyInvocationHandler()
137 ArtMethod* proxy_method = rcvr->GetClass()->FindVirtualMethodForInterface( in InvokeProxyInvocationHandler()
141 size_t method_size = ArtMethod::Size(kRuntimePointerSize); in InvokeProxyInvocationHandler()
185 static inline std::pair<ArtMethod*, uintptr_t> DoGetCalleeSaveMethodOuterCallerAndPc( in DoGetCalleeSaveMethodOuterCallerAndPc()
186 ArtMethod** sp, CalleeSaveType type) REQUIRES_SHARED(Locks::mutator_lock_) { in DoGetCalleeSaveMethodOuterCallerAndPc()
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()
[all …]
/art/runtime/jit/
Djit_code_cache.h41 class ArtMethod; variable
110 ArtMethod* method;
125 void Put(const void* code, ArtMethod* method) REQUIRES(Locks::jit_lock_);
129 const void* GetCodeFor(ArtMethod* method, uintptr_t pc = 0) const;
132 bool ContainsMethod(ArtMethod* method) const { in ContainsMethod()
198 bool NotifyCompilationOf(ArtMethod* method,
205 void NotifyMethodRedefined(ArtMethod* method)
213 ProfilingInfo* NotifyCompilerUse(ArtMethod* method, Thread* self)
217 void DoneCompiling(ArtMethod* method, Thread* self, CompilationKind compilation_kind)
221 void DoneCompilerUse(ArtMethod* method, Thread* self)
[all …]
Dprofiling_info.h29 class ArtMethod; variable
69 static ProfilingInfo* Create(Thread* self, ArtMethod* method)
79 ArtMethod* GetMethod() const { in GetMethod()
118 ProfilingInfo(ArtMethod* method, const std::vector<uint32_t>& entries);
128 ArtMethod* method_;
147 ScopedProfilingInfoUse(jit::Jit* jit, ArtMethod* method, Thread* self);
154 ArtMethod* const method_;
/art/tools/cpp-define-generator/
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 …]
/art/compiler/optimizing/
Dinliner.h79 ArtMethod* resolved_method,
85 ArtMethod* resolved_method,
91 ArtMethod* resolved_method,
111 ArtMethod* method,
116 bool IsInliningAllowed(art::ArtMethod* method, const CodeItemDataAccessor& accessor) const
126 art::ArtMethod* method,
134 bool IsInliningBudgetAvailable(art::ArtMethod* method, const CodeItemDataAccessor& accessor) const
149 ArtMethod* referrer,
153 ArtMethod* referrer,
169 ArtMethod* method,
[all …]
/art/runtime/mirror/
Dmethod.cc29 ObjPtr<Method> Method::CreateFromArtMethod(Thread* self, ArtMethod* method) { in CreateFromArtMethod()
39 Thread* self, ArtMethod* method);
41 Thread* self, ArtMethod* method);
44 ObjPtr<Constructor> Constructor::CreateFromArtMethod(Thread* self, ArtMethod* method) { in CreateFromArtMethod()
55 Thread* self, ArtMethod* method);
57 Thread* self, ArtMethod* method);
Dclass-inl.h133 inline ArraySlice<ArtMethod> Class::GetDirectMethodsSlice(PointerSize pointer_size) { in GetDirectMethodsSlice()
138 inline ArraySlice<ArtMethod> Class::GetDirectMethodsSliceUnchecked(PointerSize pointer_size) { in GetDirectMethodsSliceUnchecked()
146 inline ArraySlice<ArtMethod> Class::GetDeclaredMethodsSlice(PointerSize pointer_size) { in GetDeclaredMethodsSlice()
151 inline ArraySlice<ArtMethod> Class::GetDeclaredMethodsSliceUnchecked(PointerSize pointer_size) { in GetDeclaredMethodsSliceUnchecked()
159 inline ArraySlice<ArtMethod> Class::GetDeclaredVirtualMethodsSlice(PointerSize pointer_size) { in GetDeclaredVirtualMethodsSlice()
164 inline ArraySlice<ArtMethod> Class::GetDeclaredVirtualMethodsSliceUnchecked( in GetDeclaredVirtualMethodsSliceUnchecked()
173 inline ArraySlice<ArtMethod> Class::GetVirtualMethodsSlice(PointerSize pointer_size) { in GetVirtualMethodsSlice()
178 inline ArraySlice<ArtMethod> Class::GetVirtualMethodsSliceUnchecked(PointerSize pointer_size) { in GetVirtualMethodsSliceUnchecked()
179 LengthPrefixedArray<ArtMethod>* methods = GetMethodsPtr(); in GetVirtualMethodsSliceUnchecked()
187 inline ArraySlice<ArtMethod> Class::GetCopiedMethodsSlice(PointerSize pointer_size) { in GetCopiedMethodsSlice()
[all …]
/art/openjdkjvmti/
Ddeopt_manager.h45 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 …]
/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 …]

12345678910>>...12