Home
last modified time | relevance | path

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

12345678910>>...12

/art/runtime/
Dwell_known_classes.h29 class ArtMethod; variable
79 static ArtMethod* StringInitToStringFactory(ArtMethod* method);
80 static uint32_t StringInitToEntryPoint(ArtMethod* method);
87 template <ArtMethod** kMethod>
88 using ClassFromMethod = detail::ClassFromMember<ArtMethod, kMethod>;
107 static ArtMethod* dalvik_system_BaseDexClassLoader_getLdLibraryPath;
108 static ArtMethod* dalvik_system_DelegateLastClassLoader_init; // Only for the declaring class.
109 static ArtMethod* dalvik_system_DexClassLoader_init; // Only for the declaring class.
110 static ArtMethod* dalvik_system_InMemoryDexClassLoader_init; // Only for the declaring class.
111 static ArtMethod* dalvik_system_PathClassLoader_init; // Only for the declaring class.
[all …]
Dcha.h32 class ArtMethod; variable
89 using MethodAndMethodHeaderPair = std::pair<ArtMethod*, OatQuickMethodHeader*>;
96 void AddDependency(ArtMethod* method,
97 ArtMethod* dependent_method,
101 const ListOfDependentPairs& GetDependents(ArtMethod* method) REQUIRES(Locks::cha_lock_);
105 void RemoveAllDependenciesFor(ArtMethod* method) REQUIRES(Locks::cha_lock_);
135 ArtMethod* method,
147 ArtMethod* virtual_method,
148 ArtMethod* method_in_super,
149 std::unordered_set<ArtMethod*>& invalidated_single_impl_methods,
[all …]
Dart_method-inl.h178 ArtMethod::InvokeStatic(Thread* self, typename detail::ShortyTraits<ArgType>::Type... args) {
194 ArtMethod::InvokeInstance(Thread* self,
212 ArtMethod::InvokeFinal(Thread* self,
224 ArtMethod::InvokeVirtual(Thread* self,
231 ArtMethod* target_method =
239 ArtMethod::InvokeInterface(Thread* self,
245 ArtMethod* target_method =
252 inline ObjPtr<mirror::Class> ArtMethod::GetDeclaringClassUnchecked() {
258 inline ObjPtr<mirror::Class> ArtMethod::GetDeclaringClass() {
270 inline void ArtMethod::SetDeclaringClass(ObjPtr<mirror::Class> new_declaring_class) {
[all …]
Dnterp_helpers.h25 class ArtMethod; variable
31 QuickMethodFrameInfo NterpFrameInfo(ArtMethod** frame)
37 uint32_t NterpGetDexPC(ArtMethod** frame)
44 uintptr_t NterpGetReferenceArray(ArtMethod** frame)
51 uintptr_t NterpGetRegistersArray(ArtMethod** frame)
62 uint32_t NterpGetVReg(ArtMethod** frame, uint16_t vreg)
69 uint32_t NterpGetVRegReference(ArtMethod** frame, uint16_t vreg)
76 EXPORT 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 …]
Dinstrumentation.h45 class ArtMethod; variable
77 virtual void MethodEntered(Thread* thread, ArtMethod* method)
81 ArtMethod* method,
90 ArtMethod* method,
98 ArtMethod* method,
105 ArtMethod* method,
112 ArtMethod* method,
118 ArtMethod* method,
127 ArtMethod* method,
144 ArtMethod* method,
[all …]
Dmanaged_stack.h36 class ArtMethod; variable
83 ArtMethod** GetTopQuickFrameKnownNotTagged() const { in GetTopQuickFrameKnownNotTagged()
87 ArtMethod** GetTopQuickFrame() const { in GetTopQuickFrame()
103 void SetTopQuickFrame(ArtMethod** top) { in SetTopQuickFrame()
109 void SetTopQuickFrameGenericJniTagged(ArtMethod** top) { in SetTopQuickFrameGenericJniTagged()
144 static TaggedTopQuickFrame CreateNotTagged(ArtMethod** sp) { in CreateNotTagged()
149 static TaggedTopQuickFrame CreateGenericJniTagged(ArtMethod** sp) { in CreateGenericJniTagged()
155 ArtMethod** GetSpKnownNotTagged() const { in GetSpKnownNotTagged()
158 return reinterpret_cast<ArtMethod**>(tagged_sp_); in GetSpKnownNotTagged()
161 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 …]
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)
Dart_method.cc60 extern "C" void art_quick_invoke_stub(ArtMethod*, uint32_t*, uint32_t, Thread*, JValue*,
62 extern "C" void art_quick_invoke_static_stub(ArtMethod*, uint32_t*, uint32_t, Thread*, JValue*,
66 static_assert(ArtMethod::kRuntimeMethodDexMethodIndex == dex::kDexNoIndex,
69 ArtMethod* ArtMethod::GetCanonicalMethod(PointerSize pointer_size) { in GetCanonicalMethod()
75 ArtMethod* ret = declaring_class->FindInterfaceMethod(GetDexCache(), in GetCanonicalMethod()
83 ArtMethod* ArtMethod::GetNonObsoleteMethod() { in GetNonObsoleteMethod()
95 ArtMethod* ArtMethod::GetSingleImplementation(PointerSize pointer_size) { in GetSingleImplementation()
101 ArtMethod* m = reinterpret_cast<ArtMethod*>(GetDataPtrSize(pointer_size)); in GetSingleImplementation()
106 ArtMethod* ArtMethod::FromReflectedMethod(const ScopedObjectAccessAlreadyRunnable& soa, in FromReflectedMethod()
114 ObjPtr<mirror::DexCache> ArtMethod::GetObsoleteDexCache() { in GetObsoleteDexCache()
[all …]
Dwell_known_classes.cc61 ArtMethod* WellKnownClasses::dalvik_system_BaseDexClassLoader_getLdLibraryPath;
62 ArtMethod* WellKnownClasses::dalvik_system_DelegateLastClassLoader_init;
63 ArtMethod* WellKnownClasses::dalvik_system_DexClassLoader_init;
64 ArtMethod* WellKnownClasses::dalvik_system_InMemoryDexClassLoader_init;
65 ArtMethod* WellKnownClasses::dalvik_system_PathClassLoader_init;
66 ArtMethod* WellKnownClasses::dalvik_system_VMRuntime_hiddenApiUsed;
67 ArtMethod* WellKnownClasses::java_lang_Boolean_valueOf;
68 ArtMethod* WellKnownClasses::java_lang_BootClassLoader_init;
69 ArtMethod* WellKnownClasses::java_lang_Byte_valueOf;
70 ArtMethod* WellKnownClasses::java_lang_Character_valueOf;
[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()
267 ArtMethod* excluded_method) in VerifyNonSingleImplementation()
285 ArtMethod* verify_method = verify_class->GetVTableEntry(verify_index, image_pointer_size); in VerifyNonSingleImplementation()
[all …]
Druntime-inl.h44 inline QuickMethodFrameInfo Runtime::GetRuntimeMethodFrameInfo(ArtMethod* method) { in GetRuntimeMethodFrameInfo()
65 inline ArtMethod* Runtime::GetResolutionMethod() { in GetResolutionMethod()
70 inline ArtMethod* Runtime::GetImtConflictMethod() { in GetImtConflictMethod()
75 inline ArtMethod* Runtime::GetImtUnimplementedMethod() { in GetImtUnimplementedMethod()
80 inline ArtMethod* Runtime::GetCalleeSaveMethod(CalleeSaveType type) in GetCalleeSaveMethod()
86 inline ArtMethod* Runtime::GetCalleeSaveMethodUnchecked(CalleeSaveType type) in GetCalleeSaveMethodUnchecked()
88 return reinterpret_cast64<ArtMethod*>(callee_save_methods_[static_cast<size_t>(type)]); in GetCalleeSaveMethodUnchecked()
Dnterp_helpers.cc143 static uint16_t GetNumberOfOutRegs(ArtMethod* method, InstructionSet isa) in GetNumberOfOutRegs()
153 static size_t NterpGetFrameSizeWithoutPadding(ArtMethod* method, InstructionSet isa) in NterpGetFrameSizeWithoutPadding()
174 static inline size_t NterpGetFrameSize(ArtMethod* method, InstructionSet isa) in NterpGetFrameSize()
179 QuickMethodFrameInfo NterpFrameInfo(ArtMethod** frame) { in NterpFrameInfo()
187 uintptr_t NterpGetRegistersArray(ArtMethod** frame) { in NterpGetRegistersArray()
194 uintptr_t NterpGetReferenceArray(ArtMethod** frame) { in NterpGetReferenceArray()
204 uint32_t NterpGetDexPC(ArtMethod** frame) { in NterpGetDexPC()
213 uint32_t NterpGetVReg(ArtMethod** frame, uint16_t vreg) { in NterpGetVReg()
217 uint32_t NterpGetVRegReference(ArtMethod** frame, uint16_t vreg) { in NterpGetVRegReference()
227 bool CanMethodUseNterp(ArtMethod* method, InstructionSet isa) { in CanMethodUseNterp()
[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()
/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*);
86 extern "C" void art_quick_compile_optimized(ArtMethod*, Thread*);
87 extern "C" void art_quick_method_entry_hook(ArtMethod*, Thread*);
88 extern "C" int32_t art_quick_method_exit_hook(Thread*, ArtMethod*, uint64_t*, uint64_t*);
Dentrypoint_utils.h44 class ArtMethod; variable
82 ArtMethod* method,
94 ArtMethod* method,
131 inline ArtMethod* FindSuperMethodToCall(uint32_t method_idx,
132 ArtMethod* resolved_method,
133 ArtMethod* referrer,
139 ArtMethod* referrer,
146 inline ArtMethod* FindMethodToCall(Thread* self,
147 ArtMethod* referrer,
156 ArtMethod* referrer,
[all …]
Dentrypoint_utils.cc52 ArtMethod* method = self->GetCurrentMethod(nullptr); in CheckReferenceResult()
148 ArtMethod* proxy_method = rcvr->GetClass()->FindVirtualMethodForInterface( in InvokeProxyInvocationHandler()
152 size_t method_size = ArtMethod::Size(kRuntimePointerSize); in InvokeProxyInvocationHandler()
196 static inline std::pair<ArtMethod*, uintptr_t> DoGetCalleeSaveMethodOuterCallerAndPc( in DoGetCalleeSaveMethodOuterCallerAndPc()
197 ArtMethod** sp, CalleeSaveType type) REQUIRES_SHARED(Locks::mutator_lock_) { in DoGetCalleeSaveMethodOuterCallerAndPc()
201 auto** caller_sp = reinterpret_cast<ArtMethod**>( in DoGetCalleeSaveMethodOuterCallerAndPc()
206 ArtMethod* outer_method = *caller_sp; in DoGetCalleeSaveMethodOuterCallerAndPc()
210 static inline ArtMethod* DoGetCalleeSaveMethodCallerAndDexPc(ArtMethod** sp, in DoGetCalleeSaveMethodCallerAndDexPc()
212 ArtMethod* outer_method, in DoGetCalleeSaveMethodCallerAndDexPc()
217 ArtMethod* caller = outer_method; in DoGetCalleeSaveMethodCallerAndDexPc()
[all …]
/art/runtime/jit/
Djit_code_cache.h42 class ArtMethod; variable
111 ArtMethod* method;
126 void Put(const void* code, ArtMethod* method) REQUIRES(Locks::jit_lock_);
130 const void* GetCodeFor(ArtMethod* method, uintptr_t pc = 0) const;
133 bool ContainsMethod(ArtMethod* method) const { in ContainsMethod()
207 bool NotifyCompilationOf(ArtMethod* method,
214 EXPORT void NotifyMethodRedefined(ArtMethod* method)
222 ProfilingInfo* NotifyCompilerUse(ArtMethod* method, Thread* self)
226 void DoneCompiling(ArtMethod* method, Thread* self)
230 void DoneCompilerUse(ArtMethod* method, Thread* self)
[all …]
Djit.h39 class ArtMethod; variable
70 Thread* self, JitMemoryRegion* region, ArtMethod* method, CompilationKind compilation_kind)
135 void AddTask(Thread* self, ArtMethod* method, CompilationKind kind) REQUIRES(!task_queue_lock_);
159 Task* FetchFrom(std::deque<ArtMethod*>& methods, CompilationKind kind) REQUIRES(task_queue_lock_);
163 std::deque<ArtMethod*> osr_queue_ GUARDED_BY(task_queue_lock_);
164 std::deque<ArtMethod*> baseline_queue_ GUARDED_BY(task_queue_lock_);
165 std::deque<ArtMethod*> optimized_queue_ GUARDED_BY(task_queue_lock_);
170 std::set<ArtMethod*> osr_enqueued_methods_ GUARDED_BY(task_queue_lock_);
171 std::set<ArtMethod*> baseline_enqueued_methods_ GUARDED_BY(task_queue_lock_);
172 std::set<ArtMethod*> optimized_enqueued_methods_ GUARDED_BY(task_queue_lock_);
[all …]
/art/tools/cpp-define-generator/
Dart_method.def23 art::ArtMethod::AccessFlagsOffset().Int32Value())
43 art::ArtMethod::DeclaringClassOffset().Int32Value())
45 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k32).Int32Value())
47 art::ArtMethod::EntryPointFromJniOffset(art::PointerSize::k64).Int32Value())
49 art::ArtMethod::DataOffset(art::PointerSize::k32).Int32Value())
51 art::ArtMethod::DataOffset(art::PointerSize::k64).Int32Value())
53 … art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(art::PointerSize::k32).Int32Value())
55 … art::ArtMethod::EntryPointFromQuickCompiledCodeOffset(art::PointerSize::k64).Int32Value())
57 art::ArtMethod::MethodIndexOffset().Int32Value())
59 art::ArtMethod::ImtIndexOffset().Int32Value())
[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);
/art/compiler/optimizing/
Dinliner.h91 ArtMethod* resolved_method,
98 ArtMethod* resolved_method,
105 ArtMethod* resolved_method,
128 ArtMethod* method,
134 bool IsInliningAllowed(art::ArtMethod* method, const CodeItemDataAccessor& accessor) const
144 art::ArtMethod* method,
153 art::ArtMethod* method,
170 ArtMethod* referrer,
174 ArtMethod* referrer,
190 ArtMethod* method,
[all …]
/art/runtime/oat/
Dimage-inl.h68 const size_t method_alignment = ArtMethod::Alignment(pointer_size); in VisitPackedArtMethods()
69 const size_t method_size = ArtMethod::Size(pointer_size); in VisitPackedArtMethods()
72 auto* array = reinterpret_cast<LengthPrefixedArray<ArtMethod>*>(base + methods.Offset() + pos); in VisitPackedArtMethods()
80 auto* method = reinterpret_cast<ArtMethod*>(base + runtime_methods.Offset() + pos); in VisitPackedArtMethods()
94 ArtMethod* orig = imt->Get(i, pointer_size); in VisitPackedImTables()
95 ArtMethod* updated = visitor(orig); in VisitPackedImTables()
111 table->Visit([&visitor](const std::pair<ArtMethod*, ArtMethod*>& methods) { in VisitPackedImtConflictTables()
127 ArtMethod* orig; in VisitJniStubMethods()
130 orig = reinterpret_cast32<ArtMethod*>(value); in VisitJniStubMethods()
133 orig = reinterpret_cast64<ArtMethod*>(value); in VisitJniStubMethods()
[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()
208 ArtMethod* parameter_init = WellKnownClasses::java_lang_reflect_Parameter_init; in Executable_getParameters0()
239 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Executable_isAnnotationPresentNative()
252 ArtMethod* this_method = ArtMethod::FromReflectedMethod(soa, thisMethod); in Executable_compareMethodParametersInternal()
253 ArtMethod* other_method = ArtMethod::FromReflectedMethod(soa, otherMethod); in Executable_compareMethodParametersInternal()
299 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Executable_getMethodNameInternal()
[all …]

12345678910>>...12