Home
last modified time | relevance | path

Searched refs:ArtMethod (Results 76 – 100 of 272) sorted by relevance

1234567891011

/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc36 ArtMethod* referrer, in FindInstanceField()
52 static ArtMethod* GetReferrer(Thread* self) REQUIRES_SHARED(Locks::mutator_lock_) { in GetReferrer()
56 ArtMethod* outer = GetCalleeSaveOuterMethod(self, CalleeSaveType::kSaveRefsOnly); in GetReferrer()
72 ArtMethod* referrer, \
93 ArtMethod* referrer, \
114 ArtMethod* referrer, \
152 ArtMethod* referrer, \
363 ArtMethod* referrer, in artSet8StaticFromCode()
371 ArtMethod* referrer, in artSet16StaticFromCode()
380 ArtMethod* referrer, in artSet8InstanceFromCode()
[all …]
Dquick_default_externs.h28 class ArtMethod; variable
107 extern "C" void art_quick_imt_conflict_trampoline(art::ArtMethod*);
108 extern "C" void art_quick_resolution_trampoline(art::ArtMethod*);
109 extern "C" void art_quick_to_interpreter_bridge(art::ArtMethod*);
/art/runtime/
Dcommon_throws.cc99 void ThrowAbstractMethodError(ArtMethod* method) { in ThrowAbstractMethodError()
102 ArtMethod::PrettyMethod(method).c_str()).c_str()); in ThrowAbstractMethodError()
200 ArtMethod* called, in ThrowIllegalAccessErrorClassForMethodDispatch()
206 << " method " << ArtMethod::PrettyMethod(called).c_str(); in ThrowIllegalAccessErrorClassForMethodDispatch()
210 void ThrowIllegalAccessErrorMethod(ObjPtr<mirror::Class> referrer, ArtMethod* accessed) { in ThrowIllegalAccessErrorMethod()
212 msg << "Method '" << ArtMethod::PrettyMethod(accessed) << "' is inaccessible to class '" in ThrowIllegalAccessErrorMethod()
224 void ThrowIllegalAccessErrorFinalField(ArtMethod* referrer, ArtField* accessed) { in ThrowIllegalAccessErrorFinalField()
227 << "' cannot be written to by method '" << ArtMethod::PrettyMethod(referrer) << "'"; in ThrowIllegalAccessErrorFinalField()
261 ArtMethod* method, ArtMethod* referrer) { in ThrowIncompatibleClassChangeError()
263 msg << "The method '" << ArtMethod::PrettyMethod(method) << "' was expected to be of type " in ThrowIncompatibleClassChangeError()
[all …]
Dquick_exception_handler.cc79 ArtMethod* method = GetMethod(); in VisitFrame()
102 bool HandleTryItems(ArtMethod* method) in HandleTryItems()
287 << "method=" << ArtMethod::PrettyMethod(stack_visitor->GetMethod()) in SetCatchEnvironmentForOptimizedHandler()
293 ArtMethod** frame_top = stack_visitor->GetCurrentQuickFrame(); in SetCatchEnvironmentForOptimizedHandler()
319 ArtMethod* GetSingleFrameDeoptMethod() const { in GetSingleFrameDeoptMethod()
352 ArtMethod* method = GetMethod(); in VisitFrame()
354 << " at method " << ArtMethod::PrettyMethod(method); in VisitFrame()
425 void HandleNterpDeoptimization(ArtMethod* m, in HandleNterpDeoptimization()
429 ArtMethod** cur_quick_frame = GetCurrentQuickFrame(); in HandleNterpDeoptimization()
454 void HandleOptimizingDeoptimization(ArtMethod* m, in HandleOptimizingDeoptimization()
[all …]
Doat_quick_method_header.cc31 uint32_t OatQuickMethodHeader::ToDexPc(ArtMethod** frame, in ToDexPc()
34 ArtMethod* method = *frame; in ToDexPc()
59 uintptr_t OatQuickMethodHeader::ToNativeQuickPc(ArtMethod* method, in ToNativeQuickPc()
Dnth_caller_visitor.h38 ArtMethod* m = GetMethod(); in VisitFrame()
61 ArtMethod* caller;
Druntime_callbacks.h39 class ArtMethod; variable
148 virtual bool IsMethodBeingInspected(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_) = 0;
153 virtual bool IsMethodSafeToJit(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_) = 0;
157 virtual bool MethodNeedsDebugVersion(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_) = 0;
217 void RegisterNativeMethod(ArtMethod* method,
239 bool IsMethodBeingInspected(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_);
244 bool IsMethodSafeToJit(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_);
249 bool MethodNeedsDebugVersion(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_);
Dreflective_reference.h27 class ArtMethod; variable
32 static_assert(std::is_same_v<ReflectiveType, ArtMethod> ||
Dmonitor.h41 class ArtMethod; variable
211 ArtMethod* owner_method,
250 ArtMethod* owners_method,
279 static void TranslateLocation(ArtMethod* method, uint32_t pc,
378 std::atomic<ArtMethod*> lock_owner_method_;
386 uintptr_t LockOwnerInfoChecksum(ArtMethod* m, uint32_t dex_pc, Thread* t);
389 void SetLockOwnerInfo(ArtMethod* method, uint32_t dex_pc, Thread* t)
393 void GetLockOwnerInfo(/*out*/ArtMethod** method, /*out*/uint32_t* dex_pc, Thread* t);
396 void GetLockOwnerInfoLocked(/*out*/ArtMethod** method, /*out*/uint32_t* dex_pc,
Dclass_linker-inl.h84 ArtMethod* referrer) { in ResolveString()
150 ArtMethod* referrer) { in ResolveType()
200 ArtMethod* referrer) { in LookupResolvedType()
288 inline ArtMethod* ClassLinker::LookupResolvedMethod(uint32_t method_idx, in LookupResolvedMethod()
292 ArtMethod* resolved = dex_cache->GetResolvedMethod(method_idx, pointer_size); in LookupResolvedMethod()
305 inline ArtMethod* ClassLinker::GetResolvedMethod(uint32_t method_idx, ArtMethod* referrer) { in GetResolvedMethod()
313 ArtMethod* resolved_method = referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedMethod( in GetResolvedMethod()
344 inline ArtMethod* ClassLinker::ResolveMethod(Thread* self, in ResolveMethod()
346 ArtMethod* referrer, in ResolveMethod()
356 ArtMethod* resolved_method = referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedMethod( in ResolveMethod()
[all …]
Dclass_linker.cc172 ArtMethod* method = self->GetCurrentMethod(nullptr); in HasInitWithString()
185 ArtMethod* exception_init_method = exception_class->FindConstructor( in HasInitWithString()
230 static void ChangeInterpreterBridgeToNterp(ArtMethod* method, ClassLinker* class_linker) in ChangeInterpreterBridgeToNterp()
259 for (ArtMethod& m : klass->GetMethods(pointer_size)) { in EnsureSkipAccessChecksMethods()
461 Thread* self, ArtMethod* method, const void* native_method) { in RegisterNative()
489 void ClassLinker::UnregisterNative(Thread* self, ArtMethod* method) { in UnregisterNative()
504 const void* ClassLinker::GetRegisteredNative(Thread* self, ArtMethod* method) { in GetRegisteredNative()
1220 ArtMethod* m;
1320 for (ArtMethod& m : klass->GetMethods(data.pointer_size)) { in InitFromBootImage()
1336 ArtMethod* m = data.m; in InitFromBootImage()
[all …]
Dwell_known_classes.h26 class ArtMethod; variable
48 static ArtMethod* StringInitToStringFactory(ArtMethod* method);
49 static uint32_t StringInitToEntryPoint(ArtMethod* method);
/art/runtime/mirror/
Dmethod.h34 static ObjPtr<Method> CreateFromArtMethod(Thread* self, ArtMethod* method)
45 static ObjPtr<Constructor> CreateFromArtMethod(Thread* self, ArtMethod* method)
/art/compiler/optimizing/
Dinliner.cc202 static bool IsMethodOrDeclaringClassFinal(ArtMethod* method) in IsMethodOrDeclaringClassFinal()
212 static ArtMethod* FindVirtualOrInterfaceTarget(HInvoke* invoke, ArtMethod* resolved_method) in FindVirtualOrInterfaceTarget()
280 static uint32_t FindMethodIndexIn(ArtMethod* method, in FindMethodIndexIn()
324 explicit ScopedProfilingInfoInlineUse(ArtMethod* method, Thread* self) in ScopedProfilingInfoInlineUse()
344 ArtMethod* const method_;
376 ArtMethod* HInliner::TryCHADevirtualization(ArtMethod* resolved_method) { in TryCHADevirtualization()
394 ArtMethod* single_impl = resolved_method->GetSingleImplementation(pointer_size); in TryCHADevirtualization()
414 static bool IsMethodUnverified(const CompilerOptions& compiler_options, ArtMethod* method) in IsMethodUnverified()
433 static bool AlwaysThrows(const CompilerOptions& compiler_options, ArtMethod* method) in AlwaysThrows()
467 ArtMethod* HInliner::FindActualCallTarget(HInvoke* invoke_instruction, bool* cha_devirtualize) { in FindActualCallTarget()
[all …]
Dbuilder.h29 class ArtMethod; variable
51 void BuildIntrinsicGraph(ArtMethod* method);
/art/test/497-inlining-and-class-loader/
Dclear_dex_cache.cc53 ArtMethod* method = pair.object; in Java_Main_cloneResolvedMethods()
79 ArtMethod* method; in Java_Main_restoreResolvedMethods()
83 method = reinterpret_cast32<ArtMethod*>(int_array->Get(2u * i + 1u)); in Java_Main_restoreResolvedMethods()
87 method = reinterpret_cast64<ArtMethod*>(long_array->Get(2u * i + 1u)); in Java_Main_restoreResolvedMethods()
/art/runtime/jit/
Dprofiling_info.cc28 ProfilingInfo::ProfilingInfo(ArtMethod* method, const std::vector<uint32_t>& entries) in ProfilingInfo()
40 bool ProfilingInfo::Create(Thread* self, ArtMethod* method, bool retry_allocation) { in Create()
77 LOG(FATAL) << "No inline cache found for " << ArtMethod::PrettyMethod(method_) << "@" << dex_pc; in GetInlineCache()
/art/test/common/
Druntime_state.cc174 ArtMethod* method = soa.Decode<mirror::Class>(cls)->FindDeclaredDirectMethodByName( in Java_Main_isAotCompiled()
187 static ArtMethod* GetMethod(ScopedObjectAccess& soa, jclass cls, const ScopedUtfChars& chars) in GetMethod()
190 ArtMethod* method = soa.Decode<mirror::Class>(cls)->FindDeclaredDirectMethodByName( in GetMethod()
211 ArtMethod* method = GetMethod(soa, cls, chars); in Java_Main_hasJitCompiledEntrypoint()
228 ArtMethod* method = GetMethod(soa, cls, chars); in Java_Main_hasJitCompiledCode()
232 static void ForceJitCompiled(Thread* self, ArtMethod* method) REQUIRES(!Locks::mutator_lock_) { in ForceJitCompiled()
302 ArtMethod* method; in Java_Main_ensureMethodJitCompiled()
305 method = ArtMethod::FromReflectedMethod(soa, meth); in Java_Main_ensureMethodJitCompiled()
320 ArtMethod* method = nullptr; in Java_Main_ensureJitCompiled()
334 ArtMethod* method = nullptr; in Java_Main_hasSingleImplementation()
[all …]
/art/compiler/
Dcompiler.h40 class ArtMethod; variable
78 ArtMethod* method ATTRIBUTE_UNUSED, in JitCompile()
85 virtual uintptr_t GetEntryPointOf(ArtMethod* method) const
/art/runtime/interpreter/
Dinterpreter.h29 class ArtMethod; variable
41 extern void EnterInterpreterFromInvoke(Thread* self, ArtMethod* method,
/art/compiler/jit/
Djit_compiler.h27 class ArtMethod; variable
44 Thread* self, JitMemoryRegion* region, ArtMethod* method, CompilationKind kind)
/art/runtime/jni/
Djni_id_manager.h53 ArtMethod* DecodeMethodId(jmethodID method) REQUIRES(!Locks::jni_id_lock_);
55 jmethodID EncodeMethodId(ReflectiveHandle<ArtMethod> method) REQUIRES(!Locks::jni_id_lock_)
57 jmethodID EncodeMethodId(ArtMethod* method) REQUIRES(!Locks::jni_id_lock_)
91 std::vector<ArtMethod*> method_id_map_ GUARDED_BY(Locks::jni_id_lock_);
/art/runtime/verifier/
Dclass_verifier.cc55 void SetDontCompile(ArtMethod* m, bool value) override REQUIRES_SHARED(Locks::mutator_lock_) { in SetDontCompile()
60 void SetMustCountLocks(ArtMethod* m, bool value) override REQUIRES_SHARED(Locks::mutator_lock_) { in SetMustCountLocks()
79 void SetDontCompile(ArtMethod* m, bool value) override REQUIRES_SHARED(Locks::mutator_lock_) { in ReverifyClass()
82 void SetMustCountLocks(ArtMethod* m, bool value) override in ReverifyClass()
111 std::vector<std::pair<ArtMethod*, bool>> dont_compiles_; in ReverifyClass()
112 std::vector<std::pair<ArtMethod*, bool>> count_locks_; in ReverifyClass()
265 ArtMethod* resolved_method = linker->ResolveMethod<ClassLinker::ResolveMode::kNoChecks>( in VerifyClass()
/art/test/616-cha-unloading/
Dcha_unload.cc54 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, java_method); in Java_Main_getArtMethod()
/art/openjdkjvmti/
Dti_method.cc87 void RegisterNativeMethod(art::ArtMethod* method, in RegisterNativeMethod()
138 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetBytecodes()
171 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetArgumentsSize()
184 art::ArtMethod* base_method = art_method->GetInterfaceMethodIfProxy(art::kRuntimePointerSize); in GetArgumentsSize()
185 size_t arg_count = art::ArtMethod::NumArgRegisters(base_method->GetShorty()); in GetArgumentsSize()
206 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetLocalVariableTable()
292 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMaxLocals()
321 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodName()
388 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodDeclaringClass()
405 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodLocation()
[all …]

1234567891011