/art/test/common/ |
H A D | stack_inspect.cc | 45 NthCallerVisitor caller(soa.Self(), 1, false); 46 caller.WalkStack(); 47 CHECK(caller.caller != nullptr); 48 return caller.GetCurrentShadowFrame() != nullptr ? JNI_TRUE : JNI_FALSE; 74 NthCallerVisitor caller(soa.Self(), 1, false); 75 caller.WalkStack(); 76 CHECK(caller.caller != nullptr); 78 return caller [all...] |
/art/runtime/entrypoints/quick/ |
H A D | quick_dexcache_entrypoints.cc | 34 auto* caller = GetCalleeSaveMethodCaller(self, Runtime::kRefsOnly); local 35 return ResolveVerifyAndClinit(type_idx, caller, self, true, false); 42 auto* caller = GetCalleeSaveMethodCaller(self, Runtime::kRefsOnly); local 43 return ResolveVerifyAndClinit(type_idx, caller, self, false, false); 48 // Called when caller isn't guaranteed to have access to a type and the dex cache may be 51 auto* caller = GetCalleeSaveMethodCaller(self, Runtime::kRefsOnly); local 52 return ResolveVerifyAndClinit(type_idx, caller, self, false, true); 58 auto* caller = GetCalleeSaveMethodCaller(self, Runtime::kRefsOnly); local 59 return ResolveStringFromCode(caller, string_idx);
|
H A D | quick_trampoline_entrypoints.cc | 44 // Number of bytes for each out register in the caller method's frame. 345 // For the given quick ref and args quick frame, return the caller's PC. 571 uint8_t* const stack_args_; // Address of stack arguments in caller's frame. 757 ArtMethod* caller = QuickArgumentVisitor::GetCallingMethod(sp); local 758 if (UNLIKELY(Dbg::IsForcedInterpreterNeededForUpcall(self, caller))) { 943 ArtMethod* caller = nullptr; local 945 caller = QuickArgumentVisitor::GetCallingMethod(sp); 948 called_method.dex_file = caller->GetDexFile(); 949 code = caller->GetCodeItem(); 1019 DCHECK_EQ(caller [all...] |
/art/runtime/ |
H A D | nth_caller_visitor.h | 34 caller(nullptr) {} 46 DCHECK(caller == nullptr); 48 caller = m; 59 ArtMethod* caller; member in struct:art::NthCallerVisitor
|
H A D | instrumentation.h | 107 ArtMethod* caller, 378 ArtMethod* caller, 383 InvokeVirtualOrInterfaceImpl(thread, this_object, caller, dex_pc, callee); 438 // the caller must pass a unique key (a string) identifying it so we remind which 476 ArtMethod* caller,
|
H A D | instrumentation.cc | 964 ArtMethod* caller, 972 listener->InvokeVirtualOrInterface(thread, this_object, caller, dex_pc, callee); 1084 // Deoptimize if the caller needs to continue execution in the interpreter. Do nothing if we get 1088 bool deoptimize = (visitor.caller != nullptr) && 1089 (interpreter_stubs_installed_ || IsDeoptimized(visitor.caller) || 1090 Dbg::IsForcedInterpreterNeededForUpcall(self, visitor.caller)); 1094 PrettyMethod(visitor.caller).c_str(), 962 InvokeVirtualOrInterfaceImpl(Thread* thread, mirror::Object* this_object, ArtMethod* caller, uint32_t dex_pc, ArtMethod* callee) const argument
|
H A D | jni_env_ext.cc | 142 // Use some defining part of the caller's frame as the identifying mark for the JNI segment. 146 if (zeroth_caller.caller == nullptr) {
|
H A D | trace.h | 171 ArtMethod* caller,
|
H A D | reflection.cc | 621 // If method is not set to be accessible, verify it can be accessed by the caller. 840 return visitor.caller != nullptr ? visitor.caller->GetDeclaringClass() : nullptr; 850 // The caller is an attached native thread.
|
/art/runtime/native/ |
H A D | dalvik_system_VMStack.cc | 70 // Returns the defining class loader of the caller's caller. 75 if (UNLIKELY(visitor.caller == nullptr)) { 76 // The caller is an attached native thread. 79 return soa.AddLocalReference<jobject>(visitor.caller->GetDeclaringClass()->GetClassLoader()); 110 // Returns the class of the caller's caller's caller. 115 if (UNLIKELY(visitor.caller == nullptr)) { 116 // The caller i [all...] |
H A D | java_lang_reflect_Constructor.cc | 131 auto* caller = GetCallingClass(soa.Self(), 2); local 132 // If caller is null, then we called from JNI, just avoid the check since JNI avoids most 134 if (caller != nullptr && !caller->CanAccess(c.Get())) { 143 PrettyClass(c.Get()).c_str(), PrettyClass(caller).c_str());
|
H A D | java_lang_Class.cc | 599 auto caller = hs.NewHandle<mirror::Class>(nullptr); local 602 caller.Assign(GetCallingClass(soa.Self(), 1)); 603 if (caller.Get() != nullptr && !caller->CanAccess(klass.Get())) { 606 PrettyClass(klass.Get()).c_str(), PrettyClass(caller.Get()).c_str()); 639 if (caller.Get() == nullptr) { 640 caller.Assign(GetCallingClass(soa.Self(), 1)); 642 if (UNLIKELY(caller.Get() != nullptr && !VerifyAccess( 644 caller.Get()))) { 647 PrettyMethod(constructor).c_str(), PrettyClass(caller [all...] |
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.cc | 271 ArtMethod* caller = outer_method; local 284 caller = GetResolvedMethod(outer_method, 295 CHECK_EQ(caller, visitor.caller); 302 caller = visitor.caller; 305 return caller;
|
H A D | entrypoint_utils-inl.h | 51 ArtMethod* caller = outer_method->GetDexCacheResolvedMethod(method_index, sizeof(void*)); local 52 if (!caller->IsRuntimeMethod()) { 53 return caller; 63 // We first find the class loader of our caller. If it is the outer method, we can directly 64 // use its class loader. Otherwise, we also need to resolve our caller. 72 caller = GetResolvedMethod<kResolve>(outer_method, 76 class_loader.Assign(caller->GetClassLoader()); 128 // that the caller knows to check the allocator type to see if it 155 // that the caller knows to check the allocator type to see if it 732 return nullptr; // Failure - Indicate to caller t [all...] |
/art/runtime/interpreter/mterp/arm/ |
H A D | footer.S | 91 * Can we handle it here - or need to bail out to caller? 99 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/runtime/interpreter/mterp/mips/ |
H A D | footer.S | 90 * Can we handle it here - or need to bail out to caller? 97 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/ |
H A D | footer.S | 48 * Can we handle it here - or need to bail out to caller? 57 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/runtime/jit/ |
H A D | jit.h | 111 ArtMethod* caller, 116 void NotifyInterpreterToCompiledCodeTransition(Thread* self, ArtMethod* caller) 118 AddSamples(self, caller, invoke_transition_weight_, false);
|
H A D | jit.cc | 683 ArtMethod* caller, 688 ProfilingInfo* info = caller->GetProfilingInfo(sizeof(void*)); 681 InvokeVirtualOrInterface(Thread* thread, mirror::Object* this_object, ArtMethod* caller, uint32_t dex_pc, ArtMethod* callee ATTRIBUTE_UNUSED) argument
|
/art/tools/dmtracedump/ |
H A D | tracedump.cc | 2032 MethodEntry* caller; local 2104 /* Get the caller method */ 2106 caller = pStack->calls[pStack->top - 1].method; 2108 caller = &dataKeys->methods[TOPLEVEL_INDEX]; 2109 countRecursiveEntries(pStack, pStack->top, caller); 2110 caller->elapsedExclusive += currentTime - pStack->lastEventTime; 2112 if (caller->elapsedExclusive > 10000000) 2114 caller->elapsedExclusive, currentTime, 2118 if (caller->recursiveEntries <= 1) { 2119 caller [all...] |
/art/runtime/interpreter/ |
H A D | unstarted_runtime.cc | 789 std::string caller(PrettyMethod(shadow_frame->GetLink()->GetMethod())); 791 if (caller == "void java.lang.FloatingDecimal.developLongDigits(int, long, long)" || 792 caller == "java.lang.String java.lang.FloatingDecimal.toJavaFormatString()") { 796 } else if (caller == 1154 std::string caller(PrettyMethod(shadow_frame->GetLink()->GetMethod())); 1155 if (caller == "void java.util.concurrent.SynchronousQueue.<clinit>()") { 1159 } else if (caller == "void java.util.concurrent.ConcurrentHashMap.<clinit>()") { 1442 if (visitor.caller != nullptr) { 1443 result->SetL(visitor.caller->GetDeclaringClass());
|
H A D | interpreter_common.cc | 440 // caller. Notify any instrumentation listener. 506 ArtMethod* caller, 535 if (jit != nullptr && caller != nullptr) { 536 jit->NotifyInterpreterToCompiledCodeTransition(self, caller); 679 // Copy the caller's invoke-* arguments into the callee's parameter registers.
|
H A D | interpreter.cc | 297 // Push the shadow frame back as the caller will expect it. 339 // Single-stepped a return or an exception not handled locally. Return to caller. 487 static bool IsStringInit(const Instruction* instr, ArtMethod* caller) 495 const DexFile* dex_file = caller->GetDexFile();
|
/art/compiler/optimizing/ |
H A D | inliner.cc | 303 ArtMethod* caller = graph_->GetArtMethod(); local 305 // Under JIT, we should always know the caller. 306 DCHECK(caller != nullptr); 307 ScopedProfilingInfoInlineUse spiis(caller, soa.Self()); 377 << " accessible to the caller"; 436 // Also, the caller of `AddTypeGuard` must have guaranteed that the class is in the dex cache. 1198 << " is not inlined because its caller has reached" 1205 << " is not inlined because its caller has reached"
|
/art/runtime/arch/mips64/ |
H A D | quick_entrypoints_mips64.S | 60 sd $t8, 136($sp) # t8 holds caller's gp, now save it to the stack. 117 sd $t8, 56($sp) # t8 holds caller's gp, now save it to the stack. 204 sd $t8, 184($sp) # t8 holds caller's gp, now save it to the stack. 383 sd $t8, 80($sp) # t8 holds caller's gp, now save it to the stack. 644 * the method_idx. This wrapper will save arg1-arg3, load the caller's Method*, align the 655 * pointing back to the original caller. 1851 move $t0, $sp # remember bottom of caller's frame 1883 # Returns caller method's frame size. 1895 # Returns caller method's frame size.
|