Home
last modified time | relevance | path

Searched refs:caller (Results 1 – 25 of 53) sorted by relevance

123

/art/runtime/interpreter/mterp/
Dnterp.cc130 extern "C" const char* NterpGetShortyFromMethodId(ArtMethod* caller, uint32_t method_index) in NterpGetShortyFromMethodId() argument
133 return caller->GetDexFile()->GetMethodShorty(method_index); in NterpGetShortyFromMethodId()
136 extern "C" const char* NterpGetShortyFromInvokePolymorphic(ArtMethod* caller, uint16_t* dex_pc_ptr) in NterpGetShortyFromInvokePolymorphic() argument
143 return caller->GetDexFile()->GetShorty(proto_idx); in NterpGetShortyFromInvokePolymorphic()
146 extern "C" const char* NterpGetShortyFromInvokeCustom(ArtMethod* caller, uint16_t* dex_pc_ptr) in NterpGetShortyFromInvokeCustom() argument
153 const DexFile* dex_file = caller->GetDexFile(); in NterpGetShortyFromInvokeCustom()
158 extern "C" size_t NterpGetMethod(Thread* self, ArtMethod* caller, uint16_t* dex_pc_ptr) in NterpGetMethod() argument
160 UpdateHotness(caller); in NterpGetMethod()
229 ArtMethod* resolved_method = caller->SkipAccessChecks() in NterpGetMethod()
231 self, method_index, caller, invoke_type) in NterpGetMethod()
[all …]
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc116 static ALWAYS_INLINE bool CanReferenceBss(ArtMethod* outer_method, ArtMethod* caller) in CanReferenceBss() argument
132 return outer_method->GetDexFile() == caller->GetDexFile(); in CanReferenceBss()
159 ArtMethod* caller = caller_and_outer.caller; in artResolveTypeFromCode() local
161 caller, in artResolveTypeFromCode()
165 if (LIKELY(result != nullptr) && CanReferenceBss(caller_and_outer.outer_method, caller)) { in artResolveTypeFromCode()
177 ArtMethod* caller = caller_and_outer.caller; in artResolveTypeAndVerifyAccessFromCode() local
179 caller, in artResolveTypeAndVerifyAccessFromCode()
193 ArtMethod* caller = caller_and_outer.caller; in artResolveMethodHandleFromCode() local
194 ObjPtr<mirror::MethodHandle> result = ResolveMethodHandleFromCode(caller, method_handle_idx); in artResolveMethodHandleFromCode()
203 ArtMethod* caller = caller_and_outer.caller; in artResolveMethodTypeFromCode() local
[all …]
Dquick_throw_entrypoints.cc122 DCHECK(visitor.caller != nullptr); in artThrowClassCastException()
124 CodeItemDataAccessor accessor(*visitor.caller->GetDexFile(), visitor.caller->GetCodeItem()); in artThrowClassCastException()
129 dest_type = linker->LookupResolvedType(type_index, visitor.caller).Ptr(); in artThrowClassCastException()
131 << visitor.caller->GetDexFile()->PrettyType(type_index); in artThrowClassCastException()
Dquick_trampoline_entrypoints.cc714 ArtMethod* caller = QuickArgumentVisitor::GetCallingMethod(sp); in artQuickToInterpreterBridge() local
720 caller != nullptr && in artQuickToInterpreterBridge()
722 (self->IsForceInterpreter() || Dbg::IsForcedInterpreterNeededForUpcall(self, caller)))) { in artQuickToInterpreterBridge()
725 << caller->PrettyMethod(); in artQuickToInterpreterBridge()
728 << " to " << caller->PrettyMethod() in artQuickToInterpreterBridge()
1185 ArtMethod* caller = outer_method; in DumpB74410240DebugData() local
1192 caller = inline_info.GetArtMethod(); in DumpB74410240DebugData()
1198 caller = jni::DecodeArtMethod(WellKnownClasses::java_lang_String_charAt); in DumpB74410240DebugData()
1199 CHECK_EQ(caller->GetDexMethodIndex(), method_index); in DumpB74410240DebugData()
1201 ObjPtr<mirror::DexCache> dex_cache = caller->GetDexCache(); in DumpB74410240DebugData()
[all …]
/art/test/179-nonvirtual-jni/
Dexpected.txt2 Call lookup: Base, caller: Base, Obj: Base
4 Call lookup: Base, caller: Base, Obj: Ext
6 Call lookup: Base, caller: Ext, Obj: Ext
8 Call lookup: Ext, caller: Ext, Obj: Ext
Dnonvirtual-call.cc26 JNIEnv* env, jclass, jclass lookup, jclass caller, jobject recv) { in Java_Main_callSayHiMethodNonvirtualWith() argument
28 env->CallNonvirtualVoidMethod(recv, caller, meth); in Java_Main_callSayHiMethodNonvirtualWith()
/art/test/common/
Dstack_inspect.cc48 NthCallerVisitor caller(soa.Self(), level, false); in IsInterpreted() local
49 caller.WalkStack(); in IsInterpreted()
50 CHECK(caller.caller != nullptr); in IsInterpreted()
51 bool is_shadow_frame = (caller.GetCurrentShadowFrame() != nullptr); in IsInterpreted()
52 bool is_nterp_frame = (caller.GetCurrentQuickFrame() != nullptr) && in IsInterpreted()
53 (caller.GetCurrentOatQuickMethodHeader()->IsNterpMethodHeader()); in IsInterpreted()
139 NthCallerVisitor caller(soa.Self(), level, false); in IsManaged() local
140 caller.WalkStack(); in IsManaged()
141 CHECK(caller.caller != nullptr); in IsManaged()
142 return caller.GetCurrentShadowFrame() != nullptr ? JNI_FALSE : JNI_TRUE; in IsManaged()
/art/runtime/
Dnth_caller_visitor.h34 caller(nullptr), in StackVisitor()
47 DCHECK(caller == nullptr); in VisitFrame()
49 caller = m; in VisitFrame()
61 ArtMethod* caller; member
/art/test/1964-add-to-dex-classloader-file/src-ex/foobar/
DNewClass.java28 StackTrace.StackFrameData caller = null; in sayHi() local
35 caller = sfd; in sayHi()
40 if (NewClass.class.getClassLoader() != caller.method.getDeclaringClass().getClassLoader()) { in sayHi()
/art/runtime/native/
Djava_lang_reflect_Constructor.cc79 ObjPtr<mirror::Class> caller = GetCallingClass(soa.Self(), 2); in Constructor_newInstance0() local
82 if (caller != nullptr && !caller->CanAccess(c.Get())) { in Constructor_newInstance0()
92 caller->PrettyClass().c_str()); in Constructor_newInstance0()
Ddalvik_system_VMStack.cc103 if (UNLIKELY(visitor.caller == nullptr)) { in VMStack_getCallingClassLoader()
107 return soa.AddLocalReference<jobject>(visitor.caller->GetDeclaringClass()->GetClassLoader()); in VMStack_getCallingClassLoader()
143 if (UNLIKELY(visitor.caller == nullptr)) { in VMStack_getStackClass2()
147 return soa.AddLocalReference<jclass>(visitor.caller->GetDeclaringClass()); in VMStack_getStackClass2()
Djava_lang_Class.cc73 caller(nullptr) { in GetReflectionCaller()
80 caller = nullptr; in GetReflectionCaller()
114 caller = m; in GetReflectionCaller()
118 ArtMethod* caller; in GetReflectionCaller() member
127 ObjPtr<mirror::Class> caller = (visitor.caller == nullptr) in GetReflectionCaller() local
128 ? nullptr : visitor.caller->GetDeclaringClass(); in GetReflectionCaller()
129 return caller.IsNull() ? hiddenapi::AccessContext(/* is_trusted= */ true) in GetReflectionCaller()
130 : hiddenapi::AccessContext(caller); in GetReflectionCaller()
909 auto caller = hs.NewHandle<mirror::Class>(nullptr); in Class_newInstance() local
912 caller.Assign(GetCallingClass(soa.Self(), 1)); in Class_newInstance()
[all …]
/art/runtime/entrypoints/
Dentrypoint_utils.cc203 ArtMethod* caller = outer_method; in DoGetCalleeSaveMethodCaller() local
216 caller = GetResolvedMethod(outer_method, code_info, inline_infos); in DoGetCalleeSaveMethodCaller()
225 CHECK_EQ(caller, visitor.caller); in DoGetCalleeSaveMethodCaller()
232 caller = visitor.caller; in DoGetCalleeSaveMethodCaller()
234 return caller; in DoGetCalleeSaveMethodCaller()
243 ArtMethod* caller = DoGetCalleeSaveMethodCaller(outer_method, caller_pc, do_caller_check); in GetCalleeSaveMethodCaller() local
244 return caller; in GetCalleeSaveMethodCaller()
254 result.caller = in GetCalleeSaveMethodCallerAndOuterMethod()
/art/test/526-checker-caller-callee-regs/
Dinfo.txt1 Test allocation of caller and callee saved registers.
DAndroid.bp3 name: "art-run-test-526-checker-caller-callee-regs",
/art/test/952-invoke-custom/src/
DTestLinkerMethodWithRange.java78 MethodHandles.Lookup caller, in primLinkerMethod() argument
104 caller.findStatic(TestLinkerMethodWithRange.class, name, methodType); in primLinkerMethod()
150 MethodHandles.Lookup caller, String name, MethodType methodType) throws Throwable { in refLinkerMethod() argument
153 caller.findStatic(TestLinkerMethodWithRange.class, name, methodType); in refLinkerMethod()
DTestLinkerMethodMinimalArguments.java60 MethodHandles.Lookup caller, String name, MethodType methodType) throws Throwable { in linkerMethod() argument
63 caller.findStatic(TestLinkerMethodMinimalArguments.class, name, methodType); in linkerMethod()
DTestLinkerMethodMultipleArgumentTypes.java79 MethodHandles.Lookup caller, in linkerMethod() argument
105 caller.findStatic(TestLinkerMethodMultipleArgumentTypes.class, name, methodType); in linkerMethod()
DTestInvokeCustomWithConcurrentThreads.java86 MethodHandles.Lookup caller, String name, MethodType methodType) throws Throwable { in linkerMethod() argument
88 caller.findStatic(TestInvokeCustomWithConcurrentThreads.class, name, methodType); in linkerMethod()
/art/runtime/entrypoints/jni/
Djni_entrypoints.cc37 static inline uint32_t GetInvokeStaticMethodIndex(ArtMethod* caller, uint32_t dex_pc) in GetInvokeStaticMethodIndex() argument
40 const Instruction& instruction = caller->DexInstructions().InstructionAt(dex_pc); in GetInvokeStaticMethodIndex()
162 ArtMethod* caller = in artCriticalNativeFrameSize() local
168 uint32_t method_idx = GetInvokeStaticMethodIndex(caller, dex_pc); in artCriticalNativeFrameSize()
/art/test/475-regression-inliner-ids/
Dinfo.txt2 instruction IDs in the caller graph.
/art/test/642-fp-callees/src/
DMain.java24 public static void caller(int a, int b, long c) { in caller() method in Main
/art/test/179-nonvirtual-jni/src/
DMain.java56 …private static native void callSayHiMethodNonvirtualWith(Class<?> lookup, Class<?> caller, Object … in callSayHiMethodNonvirtualWith() argument
/art/runtime/jit/
Djit.h316 ArtMethod* caller,
321 void NotifyInterpreterToCompiledCodeTransition(Thread* self, ArtMethod* caller) in NotifyInterpreterToCompiledCodeTransition() argument
323 if (!IgnoreSamplesForMethod(caller)) { in NotifyInterpreterToCompiledCodeTransition()
324 AddSamples(self, caller, options_->GetInvokeTransitionWeight(), false); in NotifyInterpreterToCompiledCodeTransition()
/art/runtime/interpreter/
Dunstarted_runtime.h98 const char* caller) REQUIRES_SHARED(Locks::mutator_lock_);

123