Home
last modified time | relevance | path

Searched refs:ShadowFrame (Results 1 – 24 of 24) sorted by relevance

/art/runtime/
Dstack.h45 class ShadowFrame; variable
71 using ShadowFrameAllocaUniquePtr = std::unique_ptr<ShadowFrame, ShadowFrameDeleter>;
115 class ShadowFrame {
119 return sizeof(ShadowFrame) + (sizeof(uint32_t) * num_vregs) + in ComputeSize()
124 static ShadowFrame* CreateDeoptimizedFrame(uint32_t num_vregs, ShadowFrame* link, in CreateDeoptimizedFrame()
131 static void DeleteDeoptimizedFrame(ShadowFrame* sf) { in DeleteDeoptimizedFrame()
132 sf->~ShadowFrame(); // Explicitly destruct. in DeleteDeoptimizedFrame()
140 size_t frame_size = ShadowFrame::ComputeSize(num_vregs); \
143 ShadowFrame::CreateShadowFrameImpl((num_vregs), (link), (method), (dex_pc), \
147 ~ShadowFrame() {} in ~ShadowFrame()
[all …]
Dasm_support.h170 static_cast<int32_t>(art::ShadowFrame::LinkOffset())) in CheckAsmSupportOffsetsAndSizes()
173 static_cast<int32_t>(art::ShadowFrame::MethodOffset())) in CheckAsmSupportOffsetsAndSizes()
176 static_cast<int32_t>(art::ShadowFrame::ResultRegisterOffset())) in CheckAsmSupportOffsetsAndSizes()
179 static_cast<int32_t>(art::ShadowFrame::DexPCPtrOffset())) in CheckAsmSupportOffsetsAndSizes()
182 static_cast<int32_t>(art::ShadowFrame::CodeItemOffset())) in CheckAsmSupportOffsetsAndSizes()
185 static_cast<int32_t>(art::ShadowFrame::LockCountDataOffset())) in CheckAsmSupportOffsetsAndSizes()
188 static_cast<int32_t>(art::ShadowFrame::NumberOfVRegsOffset())) in CheckAsmSupportOffsetsAndSizes()
191 static_cast<int32_t>(art::ShadowFrame::DexPCOffset())) in CheckAsmSupportOffsetsAndSizes()
194 static_cast<int32_t>(art::ShadowFrame::CachedHotnessCountdownOffset())) in CheckAsmSupportOffsetsAndSizes()
197 static_cast<int32_t>(art::ShadowFrame::HotnessCountdownOffset())) in CheckAsmSupportOffsetsAndSizes()
[all …]
Dquick_exception_handler.cc121 ShadowFrame* frame = GetThread()->FindDebuggerShadowFrame(frame_id); in HandleTryItems()
125 ShadowFrame::DeleteDeoptimizedFrame(frame); in HandleTryItems()
335 ShadowFrame* new_frame = GetThread()->FindDebuggerShadowFrame(frame_id); in VisitFrame()
339 new_frame = ShadowFrame::CreateDeoptimizedFrame(num_regs, nullptr, method, GetDexPc()); in VisitFrame()
379 ShadowFrame* new_frame, in HandleOptimizingDeoptimization()
475 ShadowFrame* prev_shadow_frame_;
Dthread.h89 class ShadowFrame; variable
406 void SetTopOfShadowStack(ShadowFrame* top) { in SetTopOfShadowStack()
745 ShadowFrame* PushShadowFrame(ShadowFrame* new_top_frame) { in PushShadowFrame()
749 ShadowFrame* PopShadowFrame() { in PopShadowFrame()
906 void PushStackedShadowFrame(ShadowFrame* sf, StackedShadowFrameType type);
907 ShadowFrame* PopStackedShadowFrame(StackedShadowFrameType type, bool must_be_present = true);
911 ShadowFrame* FindDebuggerShadowFrame(size_t frame_id)
918 ShadowFrame* FindOrCreateDebuggerShadowFrame(size_t frame_id,
1553 ScopedStackedShadowFramePusher(Thread* self, ShadowFrame* sf, StackedShadowFrameType type) in ScopedStackedShadowFramePusher()
Dquick_exception_handler.h33 class ShadowFrame; variable
Dstack.cc43 mirror::Object* ShadowFrame::GetThisObject() const { in GetThisObject()
57 mirror::Object* ShadowFrame::GetThisObject(uint16_t num_ins) const { in GetThisObject()
70 for (ShadowFrame* current_frame = current_fragment->top_shadow_frame_; current_frame != nullptr; in NumJniShadowFrameReferences()
84 for (ShadowFrame* current_frame = current_fragment->top_shadow_frame_; current_frame != nullptr; in ShadowFramesContain()
220 ShadowFrame* shadow_frame = thread_->FindDebuggerShadowFrame(frame_id); in GetVRegFromDebuggerShadowFrame()
429 ShadowFrame* shadow_frame = GetCurrentShadowFrame(); in SetVReg()
466 ShadowFrame* shadow_frame = GetCurrentShadowFrame(); in SetVRegPair()
Dthread.cc214 StackedShadowFrameRecord(ShadowFrame* shadow_frame, in StackedShadowFrameRecord()
221 ShadowFrame* GetShadowFrame() const { return shadow_frame_; } in GetShadowFrame()
226 ShadowFrame* const shadow_frame_;
263 void Thread::PushStackedShadowFrame(ShadowFrame* sf, StackedShadowFrameType type) { in PushStackedShadowFrame()
269 ShadowFrame* Thread::PopStackedShadowFrame(StackedShadowFrameType type, bool must_be_present) { in PopStackedShadowFrame()
280 ShadowFrame* shadow_frame = record->GetShadowFrame(); in PopStackedShadowFrame()
288 ShadowFrame* shadow_frame, in Create()
302 ShadowFrame* GetShadowFrame() const { return shadow_frame_; } in GetShadowFrame()
311 ShadowFrame* shadow_frame, in FrameIdToShadowFrame()
318 ShadowFrame* const shadow_frame_;
[all …]
Dreflection.h33 class ShadowFrame; variable
Dart_method.h39 class ShadowFrame; variable
Dreflection.cc172 void BuildArgArrayFromFrame(ShadowFrame* shadow_frame, uint32_t arg_offset) in BuildArgArrayFromFrame()
Ddebugger.cc3569 ShadowFrame* frame = GetThread()->FindDebuggerShadowFrame(GetFrameId()); in VisitFrame()
/art/runtime/interpreter/
Dunstarted_runtime_test.cc48 ShadowFrame* shadow_frame, \
110 ShadowFrame* tmp, in RunArrayCopy()
133 ShadowFrame* tmp, in RunArrayCopy()
166 ShadowFrame* tmp, in TestCeilFloor()
209 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); in TEST_F()
219 ShadowFrame::DeleteDeoptimizedFrame(tmp); in TEST_F()
231 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); in TEST_F()
244 ShadowFrame::DeleteDeoptimizedFrame(tmp); in TEST_F()
256 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); in TEST_F()
269 ShadowFrame::DeleteDeoptimizedFrame(tmp); in TEST_F()
[all …]
Dinterpreter_common.h75 ShadowFrame& shadow_frame, JValue result_register,
80 ShadowFrame& shadow_frame, JValue result_register);
84 ShadowFrame* shadow_frame, JValue* result_register);
91 ShadowFrame* frame, in DoMonitorEnter()
105 ShadowFrame* frame, in DoMonitorExit()
118 static inline bool DoMonitorCheckOnExit(Thread* self, ShadowFrame* frame) in DoMonitorCheckOnExit()
141 bool DoCall(ArtMethod* called_method, Thread* self, ShadowFrame& shadow_frame,
148 bool DoLambdaCall(ArtMethod* called_method, Thread* self, ShadowFrame& shadow_frame,
180 static inline void WriteLambdaClosureIntoVRegs(ShadowFrame& shadow_frame, in WriteLambdaClosureIntoVRegs()
210 /*inout*/ShadowFrame& shadow_frame, in DoCreateLambda()
[all …]
Dinterpreter.h30 class ShadowFrame; variable
44 extern void EnterInterpreterFromDeoptimize(Thread* self, ShadowFrame* shadow_frame, bool from_code,
49 ShadowFrame* shadow_frame)
53 ShadowFrame* shadow_frame, JValue* result)
Dunstarted_runtime.cc79 ShadowFrame* shadow_frame, in CharacterLowerUpper()
104 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedCharacterToLowerCase()
109 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedCharacterToUpperCase()
159 static mirror::String* GetClassName(Thread* self, ShadowFrame* shadow_frame, size_t arg_offset) in GetClassName()
170 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassForName()
188 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassForNameLong()
205 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassClassForName()
222 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassNewInstance()
277 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassGetDeclaredField()
312 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassGetDeclaredMethod()
[all …]
Dunstarted_runtime.h29 class ShadowFrame; variable
52 ShadowFrame* shadow_frame,
68 ShadowFrame* shadow_frame, \
Dinterpreter_common.cc40 bool DoFieldGet(Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, in DoFieldGet()
102 ShadowFrame& shadow_frame, \
134 bool DoIGetQuick(ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data) { in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL()
187 template bool DoIGetQuick<_field_type>(ShadowFrame& shadow_frame, const Instruction* inst, \
200 static JValue GetFieldValue(const ShadowFrame& shadow_frame, uint32_t vreg) in GetFieldValue()
234 bool DoFieldPut(Thread* self, const ShadowFrame& shadow_frame, const Instruction* inst, in DoFieldPut()
322 const ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data)
352 bool DoIPutQuick(const ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data) { in EXPLICIT_DO_FIELD_PUT_ALL_TEMPLATE_DECL()
406 template bool DoIPutQuick<_field_type, _transaction_active>(const ShadowFrame& shadow_frame, \
426 Thread* self, ShadowFrame& shadow_frame, uint32_t dex_pc, in EXPLICIT_DO_IPUT_QUICK_ALL_TEMPLATE_DECL()
[all …]
Dinterpreter.cc248 JValue ExecuteGotoImpl(Thread*, const DexFile::CodeItem*, ShadowFrame&, JValue) { in ExecuteGotoImpl() argument
255 ShadowFrame& shadow_frame, JValue result_register);
258 ShadowFrame& shadow_frame, JValue result_register);
261 ShadowFrame& shadow_frame, JValue result_register);
264 ShadowFrame& shadow_frame, JValue result_register);
270 ShadowFrame& shadow_frame, in Execute()
421 ShadowFrame* last_shadow_frame = self->GetManagedStack()->GetTopShadowFrame(); in EnterInterpreterFromInvoke()
424 ShadowFrame* shadow_frame = shadow_frame_unique_ptr.get(); in EnterInterpreterFromInvoke()
518 ShadowFrame* shadow_frame, in EnterInterpreterFromDeoptimize()
593 ShadowFrame* old_frame = shadow_frame; in EnterInterpreterFromDeoptimize()
[all …]
Dinterpreter_goto_table_impl.cc157 JValue ExecuteGotoImpl(Thread* self, const DexFile::CodeItem* code_item, ShadowFrame& shadow_frame, in ExecuteGotoImpl()
2618 ShadowFrame& shadow_frame, JValue result_register);
2621 ShadowFrame& shadow_frame, JValue result_register);
2624 ShadowFrame& shadow_frame, JValue result_register);
2627 ShadowFrame& shadow_frame, JValue result_register);
Dinterpreter_switch_impl.cc101 ShadowFrame& shadow_frame, JValue result_register, in ExecuteSwitchImpl()
2445 ShadowFrame& shadow_frame, JValue result_register,
2449 ShadowFrame& shadow_frame, JValue result_register,
2453 ShadowFrame& shadow_frame, JValue result_register,
2457 ShadowFrame& shadow_frame, JValue result_register,
/art/runtime/interpreter/mterp/
Dmterp.cc153 extern "C" bool MterpInvokeVirtual(Thread* self, ShadowFrame* shadow_frame, in MterpInvokeVirtual()
162 extern "C" bool MterpInvokeSuper(Thread* self, ShadowFrame* shadow_frame, in MterpInvokeSuper()
171 extern "C" bool MterpInvokeInterface(Thread* self, ShadowFrame* shadow_frame, in MterpInvokeInterface()
180 extern "C" bool MterpInvokeDirect(Thread* self, ShadowFrame* shadow_frame, in MterpInvokeDirect()
189 extern "C" bool MterpInvokeStatic(Thread* self, ShadowFrame* shadow_frame, in MterpInvokeStatic()
198 extern "C" bool MterpInvokeVirtualRange(Thread* self, ShadowFrame* shadow_frame, in MterpInvokeVirtualRange()
207 extern "C" bool MterpInvokeSuperRange(Thread* self, ShadowFrame* shadow_frame, in MterpInvokeSuperRange()
216 extern "C" bool MterpInvokeInterfaceRange(Thread* self, ShadowFrame* shadow_frame, in MterpInvokeInterfaceRange()
225 extern "C" bool MterpInvokeDirectRange(Thread* self, ShadowFrame* shadow_frame, in MterpInvokeDirectRange()
234 extern "C" bool MterpInvokeStaticRange(Thread* self, ShadowFrame* shadow_frame, in MterpInvokeStaticRange()
[all …]
Dmterp_stub.cc42 ShadowFrame* shadow_frame, JValue* result_register) in ExecuteMterpImpl()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc599 uint32_t shorty_len, ShadowFrame* sf, size_t first_arg_reg) : in BuildQuickShadowFrameVisitor()
605 ShadowFrame* const sf_;
656 ShadowFrame* deopt_frame = self->PopStackedShadowFrame( in artQuickToInterpreterBridge()
675 ShadowFrame* linked = deopt_frame; in artQuickToInterpreterBridge()
727 ShadowFrame* shadow_frame = shadow_frame_unique_ptr.get(); in artQuickToInterpreterBridge()
/art/runtime/jit/
Djit.cc425 ShadowFrame* shadow_frame = nullptr; in MaybeDoOnStackReplacement()