Lines Matching refs:self

59     if (PerformNonStandardReturn<kMonitorState>(self,  in CheckForceReturn()
72 DCHECK(self->IsExceptionPending()); in HandlePendingException()
73 self->AllowThreadSuspension(); in HandlePendingException()
79 if (!MoveToExceptionHandler(self, shadow_frame, skip_event ? nullptr : instrumentation)) { in HandlePendingException()
81 DoMonitorCheckOnExit<do_assignability_check>(self, &shadow_frame); in HandlePendingException()
102 DCHECK(self->IsExceptionPending()); in PossiblyHandlePendingExceptionOnInvoke()
105 << self->GetException()->Dump(); in PossiblyHandlePendingExceptionOnInvoke()
107 self->ClearException(); in PossiblyHandlePendingExceptionOnInvoke()
119 if (!DoMonitorCheckOnExit<do_assignability_check>(self, &shadow_frame)) { in HandleMonitorChecks()
136 if (UNLIKELY(!DoDexPcMoveEvent(self, in Preamble()
142 DCHECK(self->IsExceptionPending()); in Preamble()
156 instrumentation->Branch(self, shadow_frame.GetMethod(), dex_pc, offset); in BranchInstrumentation()
159 if (jit::Jit::MaybeDoOnStackReplacement(self, in BranchInstrumentation()
175 jit->AddSamples(self, shadow_frame.GetMethod(), 1, /*with_backedges=*/ true); in HotnessUpdate()
180 if (UNLIKELY(self->ObserveAsyncException())) { in HandleAsyncException()
192 self->AllowThreadSuspension(); in HandleBackwardBranch()
201 NO_INLINE static bool DoDexPcMoveEvent(Thread* self, in DoDexPcMoveEvent() argument
209 StackHandleScope<2> hs(self); in DoDexPcMoveEvent()
210 Handle<mirror::Throwable> thr(hs.NewHandle(self->GetException())); in DoDexPcMoveEvent()
214 self->ClearException(); in DoDexPcMoveEvent()
215 instrumentation->DexPcMovedEvent(self, in DoDexPcMoveEvent()
219 if (UNLIKELY(self->IsExceptionPending())) { in DoDexPcMoveEvent()
227 self->SetException(thr.Get()); in DoDexPcMoveEvent()
234 self->AllowThreadSuspension(); in HandleReturn()
239 !SendMethodExitEvents(self, in HandleReturn()
246 DCHECK(self->IsExceptionPending()); in HandleReturn()
346 if (transaction_active && !CheckWriteConstraint(self, array)) { in HandleAPut()
357 self, shadow_frame, inst, inst_data); in HandleGet()
368 self, shadow_frame, inst, inst_data); in HandlePut()
380 self, shadow_frame, inst, inst_data, ResultRegister()); in HandleInvoke()
454 ObjPtr<mirror::Throwable> exception = self->GetException(); in MOVE_EXCEPTION()
457 self->ClearException(); in MOVE_EXCEPTION()
487 self->AllowThreadSuspension(); in RETURN_OBJECT()
505 self->ThrowNewExceptionF("Ljava/lang/InternalError;", in RETURN_OBJECT()
512 StackHandleScope<1> hs(self); in RETURN_OBJECT()
516 !SendMethodExitEvents(self, in RETURN_OBJECT()
523 DCHECK(self->IsExceptionPending()); in RETURN_OBJECT()
596 ObjPtr<mirror::String> s = ResolveString(self, shadow_frame, dex::StringIndex(B())); in CONST_STRING()
606 ObjPtr<mirror::String> s = ResolveString(self, shadow_frame, dex::StringIndex(B())); in CONST_STRING_JUMBO()
618 self, in CONST_CLASS()
631 ObjPtr<mirror::MethodHandle> mh = cl->ResolveMethodHandle(self, in CONST_METHOD_HANDLE()
644 ObjPtr<mirror::MethodType> mt = cl->ResolveMethodType(self, in CONST_METHOD_TYPE()
664 DoMonitorEnter<do_assignability_check>(self, &shadow_frame, obj); in MONITOR_ENTER()
665 return !self->IsExceptionPending(); in MONITOR_ENTER()
678 DoMonitorExit<do_assignability_check>(self, &shadow_frame, obj); in MONITOR_EXIT()
679 return !self->IsExceptionPending(); in MONITOR_EXIT()
686 self, in CHECK_CAST()
704 self, in INSTANCE_OF()
731 self, in NEW_INSTANCE()
738 AbortTransactionF(self, in NEW_INSTANCE()
745 obj = mirror::String::AllocEmptyString(self, allocator_type); in NEW_INSTANCE()
747 obj = AllocObjectFromCode(c, self, allocator_type); in NEW_INSTANCE()
753 obj->GetClass()->AssertInitializedOrInitializingInThread(self); in NEW_INSTANCE()
765 self, in NEW_ARRAY()
777 inst, shadow_frame, self, ResultRegister()); in FILLED_NEW_ARRAY()
782 inst, shadow_frame, self, ResultRegister()); in FILLED_NEW_ARRAY_RANGE()
809 self->ThrowNewExceptionF("Ljava/lang/InternalError;", in THROW()
813 self->SetException(exception->AsThrowable()); in THROW()
981 (!CheckWriteConstraint(self, array) || !CheckWriteValueConstraint(self, val))) { in APUT_OBJECT()
1210 self, shadow_frame, inst, inst_data, ResultRegister()); in INVOKE_POLYMORPHIC()
1217 self, shadow_frame, inst, inst_data, ResultRegister()); in INVOKE_POLYMORPHIC_RANGE()
1224 self, shadow_frame, inst, inst_data, ResultRegister()); in INVOKE_CUSTOM()
1231 self, shadow_frame, inst, inst_data, ResultRegister()); in INVOKE_CUSTOM_RANGE()
1845 Thread* self, in InstructionHandler() argument
1854 self(self), in InstructionHandler()
1901 Thread* const self; variable
1923 Thread* self, \
1931 ctx, instrumentation, self, shadow_frame, dex_pc, inst, inst_data, next, exit); \
1939 Thread* self = ctx->self; in DEX_INSTRUCTION_LIST() local
1942 self->VerifyStack(); in DEX_INSTRUCTION_LIST()
1962 ctx, instrumentation, self, shadow_frame, dex_pc, inst, inst_data, next, exit). in DEX_INSTRUCTION_LIST()
1964 DCHECK_EQ(self->IsExceptionPending(), inst->Opcode(inst_data) == Instruction::MOVE_EXCEPTION); in DEX_INSTRUCTION_LIST()
1970 ctx, instrumentation, self, shadow_frame, dex_pc, inst, inst_data, next, exit); \ in DEX_INSTRUCTION_LIST()
1990 if (self->IsExceptionPending()) { in DEX_INSTRUCTION_LIST()
1992 ctx, instrumentation, self, shadow_frame, dex_pc, inst, inst_data, next, exit). in DEX_INSTRUCTION_LIST()