Home
last modified time | relevance | path

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

12

/art/test/common/
Dstack_inspect.cc45 NthCallerVisitor caller(soa.Self(), 1, false); in Java_Main_isInterpreted() local
46 caller.WalkStack(); in Java_Main_isInterpreted()
47 CHECK(caller.caller != nullptr); in Java_Main_isInterpreted()
48 return caller.GetCurrentShadowFrame() != nullptr ? JNI_TRUE : JNI_FALSE; in Java_Main_isInterpreted()
74 NthCallerVisitor caller(soa.Self(), 1, false); in Java_Main_isManaged() local
75 caller.WalkStack(); in Java_Main_isManaged()
76 CHECK(caller.caller != nullptr); in Java_Main_isManaged()
78 return caller.GetCurrentShadowFrame() != nullptr ? JNI_FALSE : JNI_TRUE; in Java_Main_isManaged()
/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc34 auto* caller = GetCalleeSaveMethodCaller(self, Runtime::kRefsOnly); in artInitializeStaticStorageFromCode() local
35 return ResolveVerifyAndClinit(type_idx, caller, self, true, false); in artInitializeStaticStorageFromCode()
42 auto* caller = GetCalleeSaveMethodCaller(self, Runtime::kRefsOnly); in artInitializeTypeFromCode() local
43 return ResolveVerifyAndClinit(type_idx, caller, self, false, false); in artInitializeTypeFromCode()
51 auto* caller = GetCalleeSaveMethodCaller(self, Runtime::kRefsOnly); in artInitializeTypeAndVerifyAccessFromCode() local
52 return ResolveVerifyAndClinit(type_idx, caller, self, false, true); in artInitializeTypeAndVerifyAccessFromCode()
58 auto* caller = GetCalleeSaveMethodCaller(self, Runtime::kRefsOnly); in artResolveStringFromCode() local
59 return ResolveStringFromCode(caller, string_idx); in artResolveStringFromCode()
Dquick_trampoline_entrypoints.cc757 ArtMethod* caller = QuickArgumentVisitor::GetCallingMethod(sp); in artQuickToInterpreterBridge() local
758 if (UNLIKELY(Dbg::IsForcedInterpreterNeededForUpcall(self, caller))) { in artQuickToInterpreterBridge()
943 ArtMethod* caller = nullptr; in artQuickResolutionTrampoline() local
945 caller = QuickArgumentVisitor::GetCallingMethod(sp); in artQuickResolutionTrampoline()
948 called_method.dex_file = caller->GetDexFile(); in artQuickResolutionTrampoline()
949 code = caller->GetCodeItem(); in artQuickResolutionTrampoline()
1019 DCHECK_EQ(caller->GetDexFile(), called_method.dex_file); in artQuickResolutionTrampoline()
1021 self, called_method.dex_method_index, caller, invoke_type); in artQuickResolutionTrampoline()
1040 CHECK(caller != nullptr) << invoke_type; in artQuickResolutionTrampoline()
1043 hs.NewHandle(caller->GetDeclaringClass()->GetDexCache())); in artQuickResolutionTrampoline()
[all …]
/art/runtime/
Dnth_caller_visitor.h34 caller(nullptr) {} in StackVisitor()
46 DCHECK(caller == nullptr); in VisitFrame()
48 caller = m; in VisitFrame()
59 ArtMethod* caller; member
Dinstrumentation.h107 ArtMethod* caller,
378 ArtMethod* caller, in InvokeVirtualOrInterface() argument
383 InvokeVirtualOrInterfaceImpl(thread, this_object, caller, dex_pc, callee); in InvokeVirtualOrInterface()
476 ArtMethod* caller,
Dinstrumentation.cc964 ArtMethod* caller, in InvokeVirtualOrInterfaceImpl() argument
972 listener->InvokeVirtualOrInterface(thread, this_object, caller, dex_pc, callee); in InvokeVirtualOrInterfaceImpl()
1088 bool deoptimize = (visitor.caller != nullptr) && in PopInstrumentationStackFrame()
1089 (interpreter_stubs_installed_ || IsDeoptimized(visitor.caller) || in PopInstrumentationStackFrame()
1090 Dbg::IsForcedInterpreterNeededForUpcall(self, visitor.caller)); in PopInstrumentationStackFrame()
1094 PrettyMethod(visitor.caller).c_str(), in PopInstrumentationStackFrame()
Djni_env_ext.cc146 if (zeroth_caller.caller == nullptr) { in GetJavaCallFrame()
Dtrace.h171 ArtMethod* caller,
/art/runtime/native/
Ddalvik_system_VMStack.cc75 if (UNLIKELY(visitor.caller == nullptr)) { in VMStack_getCallingClassLoader()
79 return soa.AddLocalReference<jobject>(visitor.caller->GetDeclaringClass()->GetClassLoader()); in VMStack_getCallingClassLoader()
115 if (UNLIKELY(visitor.caller == nullptr)) { in VMStack_getStackClass2()
119 return soa.AddLocalReference<jclass>(visitor.caller->GetDeclaringClass()); in VMStack_getStackClass2()
Djava_lang_reflect_Constructor.cc131 auto* caller = GetCallingClass(soa.Self(), 2); in Constructor_newInstance0() local
134 if (caller != nullptr && !caller->CanAccess(c.Get())) { in Constructor_newInstance0()
143 PrettyClass(c.Get()).c_str(), PrettyClass(caller).c_str()); in Constructor_newInstance0()
Djava_lang_Class.cc599 auto caller = hs.NewHandle<mirror::Class>(nullptr); in Class_newInstance() local
602 caller.Assign(GetCallingClass(soa.Self(), 1)); in Class_newInstance()
603 if (caller.Get() != nullptr && !caller->CanAccess(klass.Get())) { in Class_newInstance()
606 PrettyClass(klass.Get()).c_str(), PrettyClass(caller.Get()).c_str()); in Class_newInstance()
639 if (caller.Get() == nullptr) { in Class_newInstance()
640 caller.Assign(GetCallingClass(soa.Self(), 1)); in Class_newInstance()
642 if (UNLIKELY(caller.Get() != nullptr && !VerifyAccess( in Class_newInstance()
644 caller.Get()))) { in Class_newInstance()
647 PrettyMethod(constructor).c_str(), PrettyClass(caller.Get()).c_str()); in Class_newInstance()
/art/runtime/entrypoints/
Dentrypoint_utils.cc271 ArtMethod* caller = outer_method; in GetCalleeSaveMethodCaller() local
284 caller = GetResolvedMethod(outer_method, in GetCalleeSaveMethodCaller()
295 CHECK_EQ(caller, visitor.caller); in GetCalleeSaveMethodCaller()
302 caller = visitor.caller; in GetCalleeSaveMethodCaller()
305 return caller; in GetCalleeSaveMethodCaller()
Dentrypoint_utils-inl.h51 ArtMethod* caller = outer_method->GetDexCacheResolvedMethod(method_index, sizeof(void*)); in GetResolvedMethod() local
52 if (!caller->IsRuntimeMethod()) { in GetResolvedMethod()
53 return caller; in GetResolvedMethod()
72 caller = GetResolvedMethod<kResolve>(outer_method, in GetResolvedMethod()
76 class_loader.Assign(caller->GetClassLoader()); in GetResolvedMethod()
/art/test/526-checker-caller-callee-regs/
Dinfo.txt1 Test allocation of caller and callee saved registers.
/art/runtime/interpreter/mterp/mips/
Dfooter.S97 beqz v0, MterpExceptionReturn # no local catch, back to caller.
167 li v0, 1 # signal return to caller.
173 li v0, 1 # signal return to caller.
/art/runtime/interpreter/mterp/mips64/
Dfooter.S57 beqzc v0, MterpExceptionReturn # no local catch, back to caller.
129 li v0, 1 # signal return to caller.
144 li v0, 1 # signal return to caller.
/art/test/475-regression-inliner-ids/
Dinfo.txt2 instruction IDs in the caller graph.
/art/runtime/jit/
Djit.h111 ArtMethod* caller,
116 void NotifyInterpreterToCompiledCodeTransition(Thread* self, ArtMethod* caller) in NotifyInterpreterToCompiledCodeTransition() argument
118 AddSamples(self, caller, invoke_transition_weight_, false); in NotifyInterpreterToCompiledCodeTransition()
Djit.cc683 ArtMethod* caller, in InvokeVirtualOrInterface() argument
688 ProfilingInfo* info = caller->GetProfilingInfo(sizeof(void*)); in InvokeVirtualOrInterface()
692 Runtime::Current()->GetHeap()->WriteBarrierEveryFieldOf(caller->GetDeclaringClass()); in InvokeVirtualOrInterface()
/art/runtime/interpreter/mterp/arm/
Dfooter.S99 beq MterpExceptionReturn @ no local catch, back to caller.
267 mov r0, #1 @ signal return to caller.
273 mov r0, #1 @ signal return to caller.
/art/tools/dmtracedump/
Dtracedump.cc2032 MethodEntry* caller; in parseDataKeys() local
2106 caller = pStack->calls[pStack->top - 1].method; in parseDataKeys()
2108 caller = &dataKeys->methods[TOPLEVEL_INDEX]; in parseDataKeys()
2109 countRecursiveEntries(pStack, pStack->top, caller); in parseDataKeys()
2110 caller->elapsedExclusive += currentTime - pStack->lastEventTime; in parseDataKeys()
2112 if (caller->elapsedExclusive > 10000000) in parseDataKeys()
2114 caller->elapsedExclusive, currentTime, in parseDataKeys()
2118 if (caller->recursiveEntries <= 1) { in parseDataKeys()
2119 caller->topExclusive += currentTime - pStack->lastEventTime; in parseDataKeys()
2148 caller = pStack->calls[pStack->top - 1].method; in parseDataKeys()
[all …]
/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/runtime/interpreter/
Dunstarted_runtime.cc789 std::string caller(PrettyMethod(shadow_frame->GetLink()->GetMethod())); in UnstartedThreadLocalGet() local
791 if (caller == "void java.lang.FloatingDecimal.developLongDigits(int, long, long)" || in UnstartedThreadLocalGet()
792 caller == "java.lang.String java.lang.FloatingDecimal.toJavaFormatString()") { in UnstartedThreadLocalGet()
796 } else if (caller == in UnstartedThreadLocalGet()
1154 std::string caller(PrettyMethod(shadow_frame->GetLink()->GetMethod())); in UnstartedRuntimeAvailableProcessors() local
1155 if (caller == "void java.util.concurrent.SynchronousQueue.<clinit>()") { in UnstartedRuntimeAvailableProcessors()
1159 } else if (caller == "void java.util.concurrent.ConcurrentHashMap.<clinit>()") { in UnstartedRuntimeAvailableProcessors()
1442 if (visitor.caller != nullptr) { in UnstartedJNIVMStackGetStackClass2()
1443 result->SetL(visitor.caller->GetDeclaringClass()); in UnstartedJNIVMStackGetStackClass2()

12