Home
last modified time | relevance | path

Searched refs:shadow_frame (Results 1 – 25 of 33) sorted by relevance

12

/art/runtime/interpreter/
Dinterpreter_common.h119 ShadowFrame& shadow_frame,
149 COLD_ATTR void UnlockHeldMonitors(Thread* self, ShadowFrame* shadow_frame)
162 ShadowFrame& shadow_frame, in DoInvoke() argument
172 ObjPtr<mirror::Object> obj = type == kStatic ? nullptr : shadow_frame.GetVRegReference(vregC); in DoInvoke()
173 ArtMethod* sf_method = shadow_frame.GetMethod(); in DoInvoke()
184 called_method, self, shadow_frame, inst, inst_data, string_init, result); in DoInvoke()
205 ShadowFrame& shadow_frame, \
215 ShadowFrame& shadow_frame,
222 ShadowFrame& shadow_frame,
231 ShadowFrame& shadow_frame, in DoInvokeCustom() argument
[all …]
Dunstarted_runtime.cc98 ShadowFrame* shadow_frame, in CharacterLowerUpper() argument
102 int32_t int_value = shadow_frame->GetVReg(arg_offset); in CharacterLowerUpper()
125 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedCharacterToLowerCase() argument
126 CharacterLowerUpper(self, shadow_frame, result, arg_offset, true); in UnstartedCharacterToLowerCase()
130 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedCharacterToUpperCase() argument
131 CharacterLowerUpper(self, shadow_frame, result, arg_offset, false); in UnstartedCharacterToUpperCase()
199 ShadowFrame* shadow_frame, in GetClassName() argument
202 mirror::Object* param = shadow_frame->GetVRegReference(arg_offset); in GetClassName()
228 ShadowFrame* shadow_frame, in UnstartedClassForNameCommon() argument
232 ObjPtr<mirror::String> class_name = GetClassName(self, shadow_frame, arg_offset); in UnstartedClassForNameCommon()
[all …]
Dinterpreter.cc237 ShadowFrame& shadow_frame, in ExecuteSwitch() argument
242 self, accessor, shadow_frame, result_register, interpret_one_instruction); in ExecuteSwitch()
245 self, accessor, shadow_frame, result_register, interpret_one_instruction); in ExecuteSwitch()
253 ShadowFrame& shadow_frame, in Execute() argument
257 DCHECK(!shadow_frame.GetMethod()->IsAbstract()); in Execute()
258 DCHECK(!shadow_frame.GetMethod()->IsNative()); in Execute()
264 shadow_frame.SetNotifyDexPcMoveEvents( in Execute()
265 Runtime::Current()->GetInstrumentation()->NeedsDexPcEvents(shadow_frame.GetMethod(), self)); in Execute()
269 CHECK_EQ(shadow_frame.GetDexPC(), 0u); in Execute()
272 ArtMethod *method = shadow_frame.GetMethod(); in Execute()
[all …]
Dunstarted_runtime_transaction_test.cc95 UniqueDeoptShadowFramePtr shadow_frame = CreateShadowFrame(10, nullptr, 0); in TEST_F() local
105 shadow_frame->SetLink(caller_frame.get()); in TEST_F()
109 UnstartedThreadLocalGet(self, shadow_frame.get(), &result, 0); in TEST_F()
115 shadow_frame->ClearLink(); in TEST_F()
121 UniqueDeoptShadowFramePtr shadow_frame = CreateShadowFrame(10, nullptr, 0); in TEST_F() local
129 UnstartedThreadCurrentThread(self, shadow_frame.get(), &result, 0); in TEST_F()
168 UniqueDeoptShadowFramePtr shadow_frame = CreateShadowFrame(10, nullptr, 0); in RunTest() local
177 runner(self, shadow_frame.get(), name_string, &result); in RunTest()
201 ShadowFrame* shadow_frame, in TEST_F()
205 shadow_frame->SetVRegReference(0, name); in TEST_F()
[all …]
Dinterpreter_common.cc149 ShadowFrame& shadow_frame, in MoveToExceptionHandler() argument
162 if (shadow_frame.GetForcePopFrame()) { in MoveToExceptionHandler()
169 uint32_t found_dex_pc = shadow_frame.GetMethod()->FindCatchBlock( in MoveToExceptionHandler()
170 hs.NewHandle(exception->GetClass()), shadow_frame.GetDexPC(), &clear_exception); in MoveToExceptionHandler()
173 if (shadow_frame.NeedsNotifyPop()) { in MoveToExceptionHandler()
174 instrumentation->WatchedFramePopped(self, shadow_frame); in MoveToExceptionHandler()
175 if (shadow_frame.GetForcePopFrame()) { in MoveToExceptionHandler()
185 shadow_frame.GetMethod(), in MoveToExceptionHandler()
186 shadow_frame.GetDexPC()); in MoveToExceptionHandler()
188 return shadow_frame.GetForcePopFrame(); in MoveToExceptionHandler()
[all …]
Dinterpreter_switch_impl0.cc88 static bool NeedsDexPcEvents(ShadowFrame& shadow_frame) in NeedsDexPcEvents() argument
90 DCHECK_IMPLIES(shadow_frame.GetNotifyDexPcMoveEvents(), in NeedsDexPcEvents()
92 return shadow_frame.GetNotifyDexPcMoveEvents(); in NeedsDexPcEvents()
102 static bool GetForcePopFrame(ShadowFrame& shadow_frame) { in GetForcePopFrame() argument
103 DCHECK_IMPLIES(shadow_frame.GetForcePopFrame(), in GetForcePopFrame()
105 return shadow_frame.GetForcePopFrame(); in GetForcePopFrame()
125 const ShadowFrame& shadow_frame, in DoDexPcMoveEvent() argument
138 shadow_frame.GetThisObject(accessor.InsSize()), in DoDexPcMoveEvent()
139 shadow_frame.GetMethod(), in DoDexPcMoveEvent()
Dinterpreter_switch_impl.h41 ShadowFrame& shadow_frame; member
61 ShadowFrame& shadow_frame, in ExecuteSwitchImpl() argument
68 .shadow_frame = shadow_frame, in ExecuteSwitchImpl()
Dunstarted_runtime_test.cc349 UniqueDeoptShadowFramePtr shadow_frame = CreateShadowFrame(10, method, 0); in TEST_F() local
356 shadow_frame->SetVRegReference(0, reference_empty_string.Get()); in TEST_F()
357 shadow_frame->SetVRegReference(1, string_arg.Get()); in TEST_F()
362 *shadow_frame, in TEST_F()
776 UniqueDeoptShadowFramePtr shadow_frame = CreateShadowFrame(10, nullptr, 0); in TEST_F() local
779 shadow_frame->SetVRegReference(0, class_klass); in TEST_F()
780 UnstartedClassIsAnonymousClass(self, shadow_frame.get(), &result, 0); in TEST_F()
789 shadow_frame->SetVRegReference(0, c); in TEST_F()
790 UnstartedClassIsAnonymousClass(self, shadow_frame.get(), &result, 0); in TEST_F()
799 UniqueDeoptShadowFramePtr shadow_frame = CreateShadowFrame(10, nullptr, 0); in TEST_F() local
[all …]
Dunstarted_runtime_test.h54 ShadowFrame* shadow_frame, \
58 interpreter::UnstartedRuntime::Unstarted ## Name(self, shadow_frame, result, arg_offset); \
103 UniqueDeoptShadowFramePtr shadow_frame = CreateShadowFrame(10, boot_cp_init, 0); in GetBootClassLoader() local
104 shadow_frame->SetVRegReference(0, boot_cp.Get()); in GetBootClassLoader()
111 *shadow_frame, in GetBootClassLoader()
Dinterpreter.h51 ShadowFrame* shadow_frame,
59 ShadowFrame* shadow_frame)
64 ShadowFrame* shadow_frame,
Dunstarted_runtime.h59 ShadowFrame* shadow_frame,
75 ShadowFrame* shadow_frame, \
94 ShadowFrame* shadow_frame,
Dinterpreter_switch_impl1.cc157 static bool NeedsDexPcEvents(ShadowFrame& shadow_frame) in NeedsDexPcEvents() argument
159 DCHECK(!shadow_frame.GetNotifyDexPcMoveEvents()); in NeedsDexPcEvents()
172 static bool GetForcePopFrame(ShadowFrame& shadow_frame) { in GetForcePopFrame() argument
173 DCHECK(!shadow_frame.GetForcePopFrame()); in GetForcePopFrame()
192 [[maybe_unused]] const ShadowFrame& shadow_frame, in DoDexPcMoveEvent() argument
Dinterpreter_switch_impl-inl.h63 ShadowFrame& shadow_frame, in DoFieldGet() argument
76 shadow_frame.GetMethod(), in DoFieldGet()
96 obj = shadow_frame.GetVRegReference(inst->VRegB_22c(inst_data)); in DoFieldGet()
101 shadow_frame.GetMethod(), in DoFieldGet()
107 field, shadow_frame.GetMethod(), /* is_read= */ true); in DoFieldGet()
111 obj = shadow_frame.GetVRegReference(inst->VRegB_22c(inst_data)); in DoFieldGet()
119 if (UNLIKELY(!DoFieldGetCommon<field_type>(self, shadow_frame, obj, field, &result))) { in DoFieldGet()
128 shadow_frame.SetVReg ##vreg(vregA, \ in DoFieldGet()
143 shadow_frame.SetVRegReference( in DoFieldGet()
160 const ShadowFrame& shadow_frame, in DoFieldPut() argument
[all …]
/art/runtime/
Dmethod_handles.cc367 ShadowFrame& shadow_frame, in MethodHandleInvokeTransform() argument
394 self, callsite_type, callee_type, shadow_frame, operands))); in MethodHandleInvokeTransform()
410 shadow_frame.GetMethod(), in MethodHandleInvokeTransform()
444 ShadowFrame& shadow_frame, in RefineTargetMethod() argument
453 ObjPtr<mirror::Object> receiver(shadow_frame.GetVRegReference(receiver_reg)); in RefineTargetMethod()
505 const ShadowFrame& shadow_frame, in MethodHandleFieldGet() argument
512 DoFieldGetCommon<Primitive::kPrimBoolean>(self, shadow_frame, obj, field, result); in MethodHandleFieldGet()
515 DoFieldGetCommon<Primitive::kPrimByte>(self, shadow_frame, obj, field, result); in MethodHandleFieldGet()
518 DoFieldGetCommon<Primitive::kPrimChar>(self, shadow_frame, obj, field, result); in MethodHandleFieldGet()
521 DoFieldGetCommon<Primitive::kPrimShort>(self, shadow_frame, obj, field, result); in MethodHandleFieldGet()
[all …]
Dvar_handles.cc51 ShadowFrame& shadow_frame, in VarHandleInvokeAccessorWithConversions() argument
72 CREATE_SHADOW_FRAME(num_vregs, shadow_frame.GetMethod(), shadow_frame.GetDexPC()); in VarHandleInvokeAccessorWithConversions()
73 ShadowFrameGetter getter(shadow_frame, operands); in VarHandleInvokeAccessorWithConversions()
98 ShadowFrame& shadow_frame, in VarHandleInvokeAccessorImpl() argument
117 return var_handle->Access(access_mode, &shadow_frame, operands, result); in VarHandleInvokeAccessorImpl()
120 shadow_frame, in VarHandleInvokeAccessorImpl()
137 ShadowFrame& shadow_frame, in VarHandleInvokeAccessor() argument
144 self, shadow_frame, var_handle, callsite_type, access_mode, operands, result); in VarHandleInvokeAccessor()
148 ShadowFrame& shadow_frame, in VarHandleInvokeAccessor() argument
155 self, shadow_frame, var_handle, callsite_type, access_mode, operands, result); in VarHandleInvokeAccessor()
Dcommon_dex_operations.h50 ShadowFrame* shadow_frame,
56 ShadowFrame* shadow_frame,
62 inline bool EnsureInitialized(Thread* self, ShadowFrame* shadow_frame) in EnsureInitialized() argument
64 if (LIKELY(!shadow_frame->GetMethod()->StillNeedsClinitCheck())) { in EnsureInitialized()
69 ScopedStackedShadowFramePusher pusher(self, shadow_frame); in EnsureInitialized()
71 Handle<mirror::Class> h_class = hs.NewHandle(shadow_frame->GetMethod()->GetDeclaringClass()); in EnsureInitialized()
120 const ShadowFrame& shadow_frame, in DoFieldGetCommon() argument
141 shadow_frame.GetMethod(), in DoFieldGetCommon()
142 shadow_frame.GetDexPC(), in DoFieldGetCommon()
180 const ShadowFrame& shadow_frame, in DoFieldPutCommon() argument
[all …]
Dvar_handles.h30 ShadowFrame& shadow_frame,
39 ShadowFrame& shadow_frame,
Dstack.cc217 ShadowFrame* shadow_frame = thread_->FindDebuggerShadowFrame(frame_id); in GetVRegFromDebuggerShadowFrame() local
218 if (shadow_frame != nullptr) { in GetVRegFromDebuggerShadowFrame()
225 shadow_frame->GetVRegReference(vreg))); in GetVRegFromDebuggerShadowFrame()
227 *val = shadow_frame->GetVReg(vreg); in GetVRegFromDebuggerShadowFrame()
484 ShadowFrame* shadow_frame = GetCurrentShadowFrame(); in PrepareSetVReg() local
485 if (shadow_frame == nullptr) { in PrepareSetVReg()
490 shadow_frame = thread_->FindOrCreateDebuggerShadowFrame(frame_id, num_regs, m, GetDexPc()); in PrepareSetVReg()
491 CHECK(shadow_frame != nullptr); in PrepareSetVReg()
499 return shadow_frame; in PrepareSetVReg()
504 ShadowFrame* shadow_frame = PrepareSetVReg(m, vreg, /* wide= */ false); in SetVReg() local
[all …]
Dmethod_handles-inl.h40 ShadowFrameGetter(const ShadowFrame& shadow_frame,
43 : shadow_frame_(shadow_frame), operands_(operands), operand_index_(operand_index) {} in shadow_frame_() argument
79 ShadowFrameSetter(ShadowFrame* shadow_frame, size_t first_dst_reg) in ShadowFrameSetter() argument
80 : shadow_frame_(shadow_frame), arg_index_(first_dst_reg) {} in ShadowFrameSetter()
Dmethod_handles.h143 ShadowFrame& shadow_frame,
151 ShadowFrame& shadow_frame,
Dquick_exception_handler.cc757 ShadowFrame* shadow_frame = visitor.GetBottomShadowFrame(); in DeoptimizeSingleFrame() local
758 uint32_t dex_pc = shadow_frame->GetDexPC(); in DeoptimizeSingleFrame()
759 CodeItemDataAccessor accessor(shadow_frame->GetMethod()->DexInstructionData()); in DeoptimizeSingleFrame()
776 shadow_frame->GetVRegReference(inst->VRegC())->GetClass(), in DeoptimizeSingleFrame()
782 shadow_frame->GetMethod(), in DeoptimizeSingleFrame()
784 shadow_frame->GetVRegReference(inst->VRegC())->GetClass(), in DeoptimizeSingleFrame()
Dthread.cc251 StackedShadowFrameRecord(ShadowFrame* shadow_frame, in StackedShadowFrameRecord() argument
254 : shadow_frame_(shadow_frame), in StackedShadowFrameRecord()
450 ShadowFrame* shadow_frame = record->GetShadowFrame(); in PopStackedShadowFrame() local
452 return shadow_frame; in PopStackedShadowFrame()
458 ShadowFrame* shadow_frame, in Create() argument
463 return new (memory) FrameIdToShadowFrame(frame_id, shadow_frame, next); in Create()
481 ShadowFrame* shadow_frame, in FrameIdToShadowFrame() argument
484 shadow_frame_(shadow_frame), in FrameIdToShadowFrame()
533 ShadowFrame* shadow_frame = FindDebuggerShadowFrame(frame_id); in FindOrCreateDebuggerShadowFrame() local
534 if (shadow_frame != nullptr) { in FindOrCreateDebuggerShadowFrame()
[all …]
/art/runtime/mirror/
Dvar_handle.h155 ShadowFrame* shadow_frame,
229 ShadowFrame* shadow_frame,
287 ShadowFrame* shadow_frame,
308 ShadowFrame* shadow_frame,
335 ShadowFrame* shadow_frame,
/art/test/1945-proxy-method-arguments/
Dget_args.cc45 ShadowFrame* shadow_frame = GetCurrentShadowFrame(); in VisitFrame() local
46 if (shadow_frame != nullptr) { in VisitFrame()
/art/tools/cpp-define-generator/
Dasm_defines.def34 #include "shadow_frame.def"

12