Home
last modified time | relevance | path

Searched refs:stack_visitor (Results 1 – 14 of 14) sorted by relevance

/art/test/570-checker-osr/
Dosr.cc38 [&](const art::StackVisitor* stack_visitor) REQUIRES_SHARED(Locks::mutator_lock_) { in ProcessMethodWithName()
39 std::string m_name(stack_visitor->GetMethod()->GetName()); in ProcessMethodWithName()
42 handler(stack_visitor); in ProcessMethodWithName()
66 [&](const art::StackVisitor* stack_visitor) REQUIRES_SHARED(Locks::mutator_lock_) { in Java_Main_isInOsrCode()
67 ArtMethod* m = stack_visitor->GetMethod(); in Java_Main_isInOsrCode()
70 if (header != nullptr && header == stack_visitor->GetCurrentOatQuickMethodHeader()) { in Java_Main_isInOsrCode()
88 [&](const art::StackVisitor* stack_visitor) REQUIRES_SHARED(Locks::mutator_lock_) { in Java_Main_isInInterpreter()
89 ArtMethod* m = stack_visitor->GetMethod(); in Java_Main_isInInterpreter()
92 if ((header == nullptr || header != stack_visitor->GetCurrentOatQuickMethodHeader()) && in Java_Main_isInInterpreter()
93 (stack_visitor->IsShadowFrame() || in Java_Main_isInInterpreter()
[all …]
/art/test/461-get-reference-vreg/
Dget_reference_vreg_jni.cc58 [&](const art::StackVisitor* stack_visitor) REQUIRES_SHARED(Locks::mutator_lock_) { in FindMethodIndex()
59 ArtMethod* m = stack_visitor->GetMethod(); in FindMethodIndex()
65 if (IsFrameCompiledAndNonDebuggable(stack_visitor)) { in FindMethodIndex()
66 CheckOptimizedOutRegLiveness(stack_visitor, m, 1, kReferenceVReg); in FindMethodIndex()
68 CHECK(stack_visitor->GetVReg(m, 1, kReferenceVReg, &value)); in FindMethodIndex()
70 CHECK_EQ(stack_visitor->GetThisObject(), this_value); in FindMethodIndex()
74 CheckOptimizedOutRegLiveness(stack_visitor, m, 1, kReferenceVReg); in FindMethodIndex()
77 CheckOptimizedOutRegLiveness(stack_visitor, m, 1, kReferenceVReg); in FindMethodIndex()
80 CheckOptimizedOutRegLiveness(stack_visitor, m, 0, kReferenceVReg); in FindMethodIndex()
/art/test/543-env-long-ref/
Denv_long_ref.cc31 [&](const art::StackVisitor* stack_visitor) REQUIRES_SHARED(Locks::mutator_lock_) { in Java_Main_lookForMyRegisters()
32 ArtMethod* m = stack_visitor->GetMethod(); in Java_Main_lookForMyRegisters()
38 if (stack_visitor->GetCurrentShadowFrame() == nullptr && in Java_Main_lookForMyRegisters()
39 !Runtime::Current()->IsAsyncDeoptimizeable(stack_visitor->GetCurrentQuickFramePc())) { in Java_Main_lookForMyRegisters()
43 CHECK(stack_visitor->GetVReg(m, 1, kReferenceVReg, &stack_value)); in Java_Main_lookForMyRegisters()
/art/test/common/
Dstack_inspect.cc83 [&](const art::StackVisitor* stack_visitor) REQUIRES_SHARED(Locks::mutator_lock_) { in IsMethodInterpreted()
84 if (goal == stack_visitor->GetMethod()) { in IsMethodInterpreted()
86 (require_deoptable && prev_was_runtime) || stack_visitor->IsShadowFrame(); in IsMethodInterpreted()
90 prev_was_runtime = stack_visitor->GetMethod()->IsRuntimeMethod(); in IsMethodInterpreted()
193 [&](const art::StackVisitor* stack_visitor) REQUIRES_SHARED(Locks::mutator_lock_) { in Java_Main_getThisOfCaller()
195 if (stack_visitor->GetMethod() == nullptr || in Java_Main_getThisOfCaller()
196 stack_visitor->GetMethod()->IsNative() || in Java_Main_getThisOfCaller()
197 (stack_visitor->GetCurrentShadowFrame() == nullptr && in Java_Main_getThisOfCaller()
198 !Runtime::Current()->IsAsyncDeoptimizeable(stack_visitor->GetCurrentQuickFramePc()))) { in Java_Main_getThisOfCaller()
201 result = soa.AddLocalReference<jobject>(stack_visitor->GetThisObject()); in Java_Main_getThisOfCaller()
/art/runtime/
Dquick_exception_handler.cc237 void QuickExceptionHandler::SetCatchEnvironmentForOptimizedHandler(StackVisitor* stack_visitor) { in SetCatchEnvironmentForOptimizedHandler() argument
262 code_info.GetStackMapForNativePcOffset(stack_visitor->GetNativePcOffset()); in SetCatchEnvironmentForOptimizedHandler()
279 stack_visitor->GetVReg(stack_visitor->GetMethod(), in SetCatchEnvironmentForOptimizedHandler()
285 << "method=" << ArtMethod::PrettyMethod(stack_visitor->GetMethod()) in SetCatchEnvironmentForOptimizedHandler()
286 << ", dex_pc=" << stack_visitor->GetDexPc() << ", " in SetCatchEnvironmentForOptimizedHandler()
287 << "native_pc_offset=" << stack_visitor->GetNativePcOffset() << ")"; in SetCatchEnvironmentForOptimizedHandler()
291 ArtMethod** frame_top = stack_visitor->GetCurrentQuickFrame(); in SetCatchEnvironmentForOptimizedHandler()
660 [&](const art::StackVisitor* stack_visitor) REQUIRES_SHARED(Locks::mutator_lock_) { in DumpFramesWithType()
661 ArtMethod* method = stack_visitor->GetMethod(); in DumpFramesWithType()
663 LOG(INFO) << "|> pc = " << std::hex << stack_visitor->GetCurrentQuickFramePc(); in DumpFramesWithType()
[all …]
Djava_frame_root_info.h47 JavaFrameRootInfo(uint32_t thread_id, const StackVisitor* stack_visitor, size_t vreg) in JavaFrameRootInfo() argument
48 : RootInfo(kRootJavaFrame, thread_id), stack_visitor_(stack_visitor), vreg_(vreg) { in JavaFrameRootInfo()
Dquick_exception_handler.h79 void SetCatchEnvironmentForOptimizedHandler(StackVisitor* stack_visitor)
Dmonitor.cc348 [&](const art::StackVisitor* stack_visitor) REQUIRES_SHARED(Locks::mutator_lock_) { in AtraceMonitorLockImpl()
349 ArtMethod* m = stack_visitor->GetMethod(); in AtraceMonitorLockImpl()
358 dex_pc = stack_visitor->GetDexPc(false /* abort_on_error*/); in AtraceMonitorLockImpl()
1456 void Monitor::VisitLocks(StackVisitor* stack_visitor, in VisitLocks() argument
1460 ArtMethod* m = stack_visitor->GetMethod(); in VisitLocks()
1468 stack_visitor->GetCurrentHandleScope(sizeof(void*))->GetReference(0); in VisitLocks()
1490 uint32_t dex_pc = stack_visitor->GetDexPc(abort_on_failure); in VisitLocks()
1520 success = stack_visitor->GetVReg(m, dex_reg, kReferenceVReg, &value); in VisitLocks()
Dinstrumentation.cc1441 [&shorty](const art::StackVisitor* stack_visitor) REQUIRES_SHARED(Locks::mutator_lock_) { in GetRuntimeMethodShorty()
1442 ArtMethod* m = stack_visitor->GetMethod(); in GetRuntimeMethodShorty()
1455 const Instruction& instr = m->DexInstructions().InstructionAt(stack_visitor->GetDexPc()); in GetRuntimeMethodShorty()
1474 uint16_t method_index = get_method_index_fn(m, instr, stack_visitor->GetDexPc()); in GetRuntimeMethodShorty()
Dmonitor.h120 static void VisitLocks(StackVisitor* stack_visitor,
Dtrace.cc210 [&](const art::StackVisitor* stack_visitor) REQUIRES_SHARED(Locks::mutator_lock_) { in GetSample()
211 ArtMethod* m = stack_visitor->GetMethod(); in GetSample()
/art/runtime/gc/
Dallocation_record.cc196 [&](const art::StackVisitor* stack_visitor) REQUIRES_SHARED(Locks::mutator_lock_) { in RecordAllocation()
200 ArtMethod* m = stack_visitor->GetMethod(); in RecordAllocation()
204 trace.AddStackElement(AllocRecordStackTraceElement(m, stack_visitor->GetDexPc())); in RecordAllocation()
/art/openjdkjvmti/
Dti_stack.cc705 [&](const art::StackVisitor* stack_visitor) REQUIRES_SHARED(art::Locks::mutator_lock_) { in Run()
706 art::ArtMethod* m = stack_visitor->GetMethod(); in Run()
765 [&](const art::StackVisitor* stack_visitor) REQUIRES_SHARED(art::Locks::mutator_lock_) { in Run()
766 art::ArtMethod* m = stack_visitor->GetMethod(); in Run()
771 dex_pc = stack_visitor->GetDexPc(/*abort_on_failure=*/false); in Run()
/art/runtime/jit/
Djit_code_cache.cc1004 [&](const art::StackVisitor* stack_visitor) { in Run() argument
1006 stack_visitor->GetCurrentOatQuickMethodHeader(); in Run()