Home
last modified time | relevance | path

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

123

/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc126 static ALWAYS_INLINE bool CanReferenceBss(ArtMethod* outer_method, ArtMethod* caller) in CanReferenceBss() argument
142 return outer_method->GetDexFile() == caller->GetDexFile(); in CanReferenceBss()
169 ArtMethod* caller = caller_and_outer.caller; in artResolveTypeFromCode() local
171 caller, in artResolveTypeFromCode()
175 if (LIKELY(result != nullptr) && CanReferenceBss(caller_and_outer.outer_method, caller)) { in artResolveTypeFromCode()
187 ArtMethod* caller = caller_and_outer.caller; in artResolveTypeAndVerifyAccessFromCode() local
189 caller, in artResolveTypeAndVerifyAccessFromCode()
193 if (LIKELY(result != nullptr) && CanReferenceBss(caller_and_outer.outer_method, caller)) { in artResolveTypeAndVerifyAccessFromCode()
205 ArtMethod* caller = caller_and_outer.caller; in artResolveMethodHandleFromCode() local
206 ObjPtr<mirror::MethodHandle> result = ResolveMethodHandleFromCode(caller, method_handle_idx); in artResolveMethodHandleFromCode()
[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/runtime/interpreter/mterp/
Dnterp.cc226 extern "C" const char* NterpGetShortyFromMethodId(ArtMethod* caller, uint32_t method_index) in NterpGetShortyFromMethodId() argument
229 return caller->GetDexFile()->GetMethodShorty(method_index); in NterpGetShortyFromMethodId()
232 extern "C" const char* NterpGetShortyFromInvokePolymorphic(ArtMethod* caller, uint16_t* dex_pc_ptr) in NterpGetShortyFromInvokePolymorphic() argument
239 return caller->GetDexFile()->GetShorty(proto_idx); in NterpGetShortyFromInvokePolymorphic()
242 extern "C" const char* NterpGetShortyFromInvokeCustom(ArtMethod* caller, uint16_t* dex_pc_ptr) in NterpGetShortyFromInvokeCustom() argument
249 const DexFile* dex_file = caller->GetDexFile(); in NterpGetShortyFromInvokeCustom()
254 extern "C" size_t NterpGetMethod(Thread* self, ArtMethod* caller, uint16_t* dex_pc_ptr) in NterpGetMethod() argument
256 UpdateHotness(caller); in NterpGetMethod()
325 ArtMethod* resolved_method = caller->SkipAccessChecks() in NterpGetMethod()
327 self, method_index, caller, invoke_type) in NterpGetMethod()
[all …]
/art/test/526-checker-caller-callee-regs/
DAndroid.bp3 // Build rules for ART run-test `526-checker-caller-callee-regs`.
16 name: "art-run-test-526-checker-caller-callee-regs",
21 ":art-run-test-526-checker-caller-callee-regs-expected-stdout",
22 ":art-run-test-526-checker-caller-callee-regs-expected-stderr",
31 name: "art-run-test-526-checker-caller-callee-regs-expected-stdout",
32 out: ["art-run-test-526-checker-caller-callee-regs-expected-stdout.txt"],
39 name: "art-run-test-526-checker-caller-callee-regs-expected-stderr",
40 out: ["art-run-test-526-checker-caller-callee-regs-expected-stderr.txt"],
Dinfo.txt1 Test allocation of caller and callee saved registers.
/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/test/179-nonvirtual-jni/
Dexpected-stdout.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/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/libartbase/base/
Dflags.h97 static void ReloadAllFlags(const std::string& caller) { in ReloadAllFlags() argument
101 DCHECK(caller == "Init" in ReloadAllFlags()
102 || caller == "ZygoteHooks_nativePostForkChild" in ReloadAllFlags()
103 || caller == "ZygoteHooks_nativePostForkSystemServer" in ReloadAllFlags()
104 || caller == "test") << caller; in ReloadAllFlags()
110 VLOG_STREAM(startup) << "Dumping flags for " << caller; in ReloadAllFlags()
/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/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.cc102 if (UNLIKELY(visitor.caller == nullptr)) { in VMStack_getCallingClassLoader()
106 return soa.AddLocalReference<jobject>(visitor.caller->GetDeclaringClass()->GetClassLoader()); in VMStack_getCallingClassLoader()
142 if (UNLIKELY(visitor.caller == nullptr)) { in VMStack_getStackClass2()
146 return soa.AddLocalReference<jclass>(visitor.caller->GetDeclaringClass()); in VMStack_getStackClass2()
Djava_lang_Class.cc74 caller(nullptr) { in GetReflectionCaller()
81 caller = nullptr; in GetReflectionCaller()
116 caller = m; in GetReflectionCaller()
120 ArtMethod* caller; in GetReflectionCaller() member
129 ObjPtr<mirror::Class> caller = (visitor.caller == nullptr) in GetReflectionCaller() local
130 ? nullptr : visitor.caller->GetDeclaringClass(); in GetReflectionCaller()
131 return caller.IsNull() ? hiddenapi::AccessContext(/* is_trusted= */ true) in GetReflectionCaller()
132 : hiddenapi::AccessContext(caller); in GetReflectionCaller()
911 auto caller = hs.NewHandle<mirror::Class>(nullptr); in Class_newInstance() local
914 caller.Assign(GetCallingClass(soa.Self(), 1)); in Class_newInstance()
[all …]
/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()
165 ArtMethod* caller = in artCriticalNativeFrameSize() local
171 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/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 …]

123