Home
last modified time | relevance | path

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

1234567891011

/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)
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)
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()
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 …]
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 …]
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()
101 return reinterpret_cast<ArtMethod*>(GetDataPtrSize(pointer_size)); in GetSingleImplementation()
104 ArtMethod* ArtMethod::FromReflectedMethod(const ScopedObjectAccessAlreadyRunnable& soa, in FromReflectedMethod()
111 ObjPtr<mirror::DexCache> ArtMethod::GetObsoleteDexCache() { in GetObsoleteDexCache()
[all …]
Dimtable.h27 class ArtMethod; variable
42 ArtMethod* Get(size_t index, PointerSize pointer_size) { in Get()
47 return reinterpret_cast32<ArtMethod*>(value); in Get()
50 return reinterpret_cast64<ArtMethod*>(value); in Get()
54 void Set(size_t index, ArtMethod* method, PointerSize pointer_size) { in Set()
68 void Populate(ArtMethod** data, PointerSize pointer_size) { in Populate()
79 ALWAYS_INLINE static inline void GetImtHashComponents(ArtMethod* method,
87 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 …]
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 …]
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()
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 …]
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()
Dnterp_helpers.cc97 size_t NterpGetFrameSize(ArtMethod* method) { in NterpGetFrameSize()
117 QuickMethodFrameInfo NterpFrameInfo(ArtMethod** frame) { in NterpFrameInfo()
125 uintptr_t NterpGetRegistersArray(ArtMethod** frame) { in NterpGetRegistersArray()
132 uintptr_t NterpGetReferenceArray(ArtMethod** frame) { in NterpGetReferenceArray()
143 uint32_t NterpGetDexPC(ArtMethod** frame) { in NterpGetDexPC()
153 uint32_t NterpGetVReg(ArtMethod** frame, uint16_t vreg) { in NterpGetVReg()
157 uint32_t NterpGetVRegReference(ArtMethod** frame, uint16_t vreg) { in NterpGetVRegReference()
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.h26 class ArtMethod; variable
44 extern "C" void art_quick_imt_conflict_trampoline(ArtMethod*);
50 extern "C" void art_quick_to_interpreter_bridge(ArtMethod*);
56 extern "C" void art_invoke_obsolete_method_stub(ArtMethod*);
62 extern "C" void art_quick_generic_jni_trampoline(ArtMethod*);
74 extern "C" void art_quick_resolution_trampoline(ArtMethod*);
101 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.h40 class ArtMethod; variable
109 ArtMethod* method;
124 void Put(const void* code, ArtMethod* method) REQUIRES(Locks::jit_lock_);
128 const void* GetCodeFor(ArtMethod* method, uintptr_t pc = 0) const;
131 bool ContainsMethod(ArtMethod* method) const { in ContainsMethod()
197 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 …]
Djit.h38 class ArtMethod; variable
196 Thread* self, JitMemoryRegion* region, ArtMethod* method, CompilationKind compilation_kind)
247 bool CompileMethod(ArtMethod* method, Thread* self, CompilationKind compilation_kind, bool prejit)
272 void AddMemoryUsage(ArtMethod* method, size_t bytes)
306 void MethodEntered(Thread* thread, ArtMethod* method)
310 ArtMethod* method,
316 ArtMethod* caller,
318 ArtMethod* callee)
321 void NotifyInterpreterToCompiledCodeTransition(Thread* self, ArtMethod* caller) in NotifyInterpreterToCompiledCodeTransition()
328 void NotifyCompiledCodeToInterpreterTransition(Thread* self, ArtMethod* callee) in NotifyCompiledCodeToInterpreterTransition()
[all …]
/art/compiler/optimizing/
Dinliner.h80 ArtMethod* FindActualCallTarget(HInvoke* invoke_instruction, bool* cha_devirtualize)
88 ArtMethod* resolved_method,
95 ArtMethod* resolved_method,
101 ArtMethod* resolved_method,
121 ArtMethod* resolved_method,
126 bool IsInliningAllowed(art::ArtMethod* method, const CodeItemDataAccessor& accessor) const
136 art::ArtMethod* method,
144 bool IsInliningBudgetAvailable(art::ArtMethod* method, const CodeItemDataAccessor& accessor) const
159 ArtMethod* referrer,
163 ArtMethod* referrer,
[all …]
/art/tools/cpp-define-generator/
Dart_method.def22 art::ArtMethod::AccessFlagsOffset().Int32Value())
26 art::ArtMethod::DeclaringClassOffset().Int32Value())
28 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k32).Int32Value())
30 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k64).Int32Value())
32 … art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(art::PointerSize::k32).Int32Value())
34 … art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(art::PointerSize::k64).Int32Value())
36 art::ArtMethod::MethodIndexOffset().Int32Value())
38 art::ArtMethod::ImtIndexOffset().Int32Value())
40 art::ArtMethod::HotnessCountOffset().Int32Value())
/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 …]

1234567891011