Home
last modified time | relevance | path

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

12

/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc113 static ALWAYS_INLINE bool CanReferenceBss(ArtMethod* outer_method, ArtMethod* caller) in CanReferenceBss() argument
129 return outer_method->GetDexFile() == caller->GetDexFile(); in CanReferenceBss()
156 ArtMethod* caller = caller_and_outer.caller; in artResolveTypeFromCode() local
158 caller, in artResolveTypeFromCode()
162 if (LIKELY(result != nullptr) && CanReferenceBss(caller_and_outer.outer_method, caller)) { in artResolveTypeFromCode()
174 ArtMethod* caller = caller_and_outer.caller; in artResolveTypeAndVerifyAccessFromCode() local
176 caller, in artResolveTypeAndVerifyAccessFromCode()
190 ArtMethod* caller = caller_and_outer.caller; in artResolveMethodHandleFromCode() local
191 ObjPtr<mirror::MethodHandle> result = ResolveMethodHandleFromCode(caller, method_handle_idx); in artResolveMethodHandleFromCode()
200 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.cc799 ArtMethod* caller = QuickArgumentVisitor::GetCallingMethod(sp); in artQuickToInterpreterBridge() local
805 caller != nullptr && in artQuickToInterpreterBridge()
807 (self->IsForceInterpreter() || Dbg::IsForcedInterpreterNeededForUpcall(self, caller)))) { in artQuickToInterpreterBridge()
810 << caller->PrettyMethod(); in artQuickToInterpreterBridge()
813 << " to " << caller->PrettyMethod() in artQuickToInterpreterBridge()
1267 ArtMethod* caller = outer_method; in DumpB74410240DebugData() local
1274 caller = inline_info.GetArtMethod(); in DumpB74410240DebugData()
1280 caller = jni::DecodeArtMethod(WellKnownClasses::java_lang_String_charAt); in DumpB74410240DebugData()
1281 CHECK_EQ(caller->GetDexMethodIndex(), method_index); in DumpB74410240DebugData()
1283 ObjPtr<mirror::DexCache> dex_cache = caller->GetDexCache(); in DumpB74410240DebugData()
[all …]
/art/test/common/
Dstack_inspect.cc47 NthCallerVisitor caller(soa.Self(), level, false); in IsInterpreted() local
48 caller.WalkStack(); in IsInterpreted()
49 CHECK(caller.caller != nullptr); in IsInterpreted()
50 return caller.GetCurrentShadowFrame() != nullptr ? JNI_TRUE : JNI_FALSE; in IsInterpreted()
135 NthCallerVisitor caller(soa.Self(), level, false); in IsManaged() local
136 caller.WalkStack(); in IsManaged()
137 CHECK(caller.caller != nullptr); in IsManaged()
138 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
Dinstrumentation.cc1406 auto get_method_index_fn = [](ArtMethod* caller, in GetRuntimeMethodShorty()
1413 uint16_t method_idx = caller->GetIndexFromQuickening(dex_pc); in GetRuntimeMethodShorty()
1523 bool deoptimize = (visitor.caller != nullptr) && in PopInstrumentationStackFrame()
1524 (interpreter_stubs_installed_ || IsDeoptimized(visitor.caller) || in PopInstrumentationStackFrame()
1526 Dbg::IsForcedInterpreterNeededForUpcall(self, visitor.caller)); in PopInstrumentationStackFrame()
1534 << visitor.caller->PrettyMethod() in PopInstrumentationStackFrame()
/art/runtime/entrypoints/
Dentrypoint_utils.cc200 ArtMethod* caller = outer_method; in DoGetCalleeSaveMethodCaller() local
212 caller = GetResolvedMethod(outer_method, code_info, inline_infos); in DoGetCalleeSaveMethodCaller()
220 CHECK_EQ(caller, visitor.caller); in DoGetCalleeSaveMethodCaller()
227 caller = visitor.caller; in DoGetCalleeSaveMethodCaller()
229 return caller; in DoGetCalleeSaveMethodCaller()
238 ArtMethod* caller = DoGetCalleeSaveMethodCaller(outer_method, caller_pc, do_caller_check); in GetCalleeSaveMethodCaller() local
239 return caller; in GetCalleeSaveMethodCaller()
249 result.caller = in GetCalleeSaveMethodCallerAndOuterMethod()
/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.cc66 caller(nullptr) { in GetReflectionCaller()
73 caller = nullptr; in GetReflectionCaller()
97 caller = m; in GetReflectionCaller()
101 ArtMethod* caller; in GetReflectionCaller() member
110 ObjPtr<mirror::Class> caller = (visitor.caller == nullptr) in GetReflectionCaller() local
111 ? nullptr : visitor.caller->GetDeclaringClass(); in GetReflectionCaller()
112 return caller.IsNull() ? hiddenapi::AccessContext(/* is_trusted= */ true) in GetReflectionCaller()
113 : hiddenapi::AccessContext(caller); in GetReflectionCaller()
802 auto caller = hs.NewHandle<mirror::Class>(nullptr); in Class_newInstance() local
805 caller.Assign(GetCallingClass(soa.Self(), 1)); in Class_newInstance()
[all …]
/art/test/952-invoke-custom/src/
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/test/526-checker-caller-callee-regs/
Dinfo.txt1 Test allocation of caller and callee saved registers.
/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/runtime/jit/
Djit.h237 ArtMethod* caller,
242 void NotifyInterpreterToCompiledCodeTransition(Thread* self, ArtMethod* caller) in NotifyInterpreterToCompiledCodeTransition() argument
244 AddSamples(self, caller, options_->GetInvokeTransitionWeight(), false); in NotifyInterpreterToCompiledCodeTransition()
/art/tools/dmtracedump/
Dtracedump.cc2036 MethodEntry* caller; in parseDataKeys() local
2110 caller = pStack->calls[pStack->top - 1].method; in parseDataKeys()
2112 caller = &dataKeys->methods[TOPLEVEL_INDEX]; in parseDataKeys()
2113 countRecursiveEntries(pStack, pStack->top, caller); in parseDataKeys()
2114 caller->elapsedExclusive += currentTime - pStack->lastEventTime; in parseDataKeys()
2116 if (caller->elapsedExclusive > 10000000) in parseDataKeys()
2118 caller->elapsedExclusive, currentTime, in parseDataKeys()
2122 if (caller->recursiveEntries <= 1) { in parseDataKeys()
2123 caller->topExclusive += currentTime - pStack->lastEventTime; in parseDataKeys()
2152 caller = pStack->calls[pStack->top - 1].method; in parseDataKeys()
[all …]
/art/runtime/interpreter/
Dunstarted_runtime.h98 const char* caller) REQUIRES_SHARED(Locks::mutator_lock_);
/art/test/460-multiple-returns3/smali/
DMultipleReturns.smali19 .method public static caller()S
/art/test/452-multiple-returns2/smali/
DMultipleReturns.smali19 .method public static caller()I
/art/test/448-multiple-returns/smali/
DMultipleReturns.smali19 .method public static caller()I
/art/test/641-irreducible-inline/smali/
DIrreducibleLoop.smali48 # which is unsupported when the caller has an irreducible loop.
/art/runtime/interpreter/mterp/arm/
Dmain.S553 beq MterpExceptionReturn @ no local catch, back to caller.
720 mov r0, #1 @ signal return to caller.
726 mov r0, #1 @ signal return to caller.
/art/runtime/interpreter/mterp/mips64/
Dmain.S506 beqzc v0, MterpExceptionReturn # no local catch, back to caller.
664 li v0, 1 # signal return to caller.
674 li v0, 1 # signal return to caller.

12