Lines Matching refs:self

107 InstrumentationStackPopper::InstrumentationStackPopper(Thread* self)  in InstrumentationStackPopper()  argument
108 : self_(self), in InstrumentationStackPopper()
548 Thread* self = Thread::Current(); in DeoptimizeAllThreadFrames() local
549 MutexLock mu(self, *Locks::thread_list_lock_); in DeoptimizeAllThreadFrames()
552 Locks::mutator_lock_->AssertExclusiveHeld(self); in DeoptimizeAllThreadFrames()
788 Thread* const self = Thread::Current(); in UpdateStubs() local
790 Locks::mutator_lock_->AssertExclusiveHeld(self); in UpdateStubs()
791 Locks::thread_list_lock_->AssertNotHeld(self); in UpdateStubs()
804 MutexLock mu(self, *Locks::thread_list_lock_); in UpdateStubs()
814 ReaderMutexLock mu(self, *GetDeoptimizedMethodsLock()); in UpdateStubs()
818 MutexLock mu(self, *Locks::thread_list_lock_); in UpdateStubs()
825 Locks::mutator_lock_->AssertExclusiveHeld(self); in UpdateStubs()
850 Thread* self = Thread::Current(); in SetEntrypointsInstrumented() local
852 Locks::mutator_lock_->AssertNotHeld(self); in SetEntrypointsInstrumented()
853 Locks::instrument_entrypoints_lock_->AssertHeld(self); in SetEntrypointsInstrumented()
856 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in SetEntrypointsInstrumented()
861 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in SetEntrypointsInstrumented()
868 if (self != nullptr) { in SetEntrypointsInstrumented()
869 ResetQuickAllocEntryPointsForThread(self, nullptr); in SetEntrypointsInstrumented()
1018 Thread* self = Thread::Current(); in Deoptimize() local
1020 WriterMutexLock mu(self, *GetDeoptimizedMethodsLock()); in Deoptimize()
1031 MutexLock mu(self, *Locks::thread_list_lock_); in Deoptimize()
1041 Thread* self = Thread::Current(); in Undeoptimize() local
1044 WriterMutexLock mu(self, *GetDeoptimizedMethodsLock()); in Undeoptimize()
1067 MutexLock mu(self, *Locks::thread_list_lock_); in Undeoptimize()
1207 Thread* self = Thread::Current(); in MethodEnterEventImpl() local
1208 StackHandleScope<1> hs(self); in MethodEnterEventImpl()
1226 Thread* self = Thread::Current(); in MethodExitEventImpl() local
1227 StackHandleScope<1> hs(self); in MethodExitEventImpl()
1244 Thread* self = Thread::Current(); in MethodExitEventImpl() local
1245 StackHandleScope<2> hs(self); in MethodExitEventImpl()
1267 Thread* self = Thread::Current(); in MethodUnwindEvent() local
1268 StackHandleScope<1> hs(self); in MethodUnwindEvent()
1282 Thread* self = Thread::Current(); in DexPcMovedEventImpl() local
1283 StackHandleScope<1> hs(self); in DexPcMovedEventImpl()
1316 Thread* self = Thread::Current(); in FieldReadEventImpl() local
1317 StackHandleScope<1> hs(self); in FieldReadEventImpl()
1332 Thread* self = Thread::Current(); in FieldWriteEventImpl() local
1333 StackHandleScope<2> hs(self); in FieldWriteEventImpl()
1353 Thread* self = Thread::Current(); in ExceptionThrownEvent() local
1354 StackHandleScope<1> hs(self); in ExceptionThrownEvent()
1372 Thread* self = Thread::Current(); in ExceptionHandledEvent() local
1373 StackHandleScope<1> hs(self); in ExceptionHandledEvent()
1386 void Instrumentation::PushInstrumentationStackFrame(Thread* self, in PushInstrumentationStackFrame() argument
1392 DCHECK(!self->IsExceptionPending()); in PushInstrumentationStackFrame()
1394 self->GetInstrumentationStack(); in PushInstrumentationStackFrame()
1402 StackHandleScope<1> hs(self); in PushInstrumentationStackFrame()
1405 MethodEnterEvent(self, h_this.Get(), method, 0); in PushInstrumentationStackFrame()
1406 if (self->IsExceptionPending()) { in PushInstrumentationStackFrame()
1407 MethodUnwindEvent(self, h_this.Get(), method, 0); in PushInstrumentationStackFrame()
1413 DCHECK(!self->IsExceptionPending()); in PushInstrumentationStackFrame()
1414 size_t frame_id = StackVisitor::ComputeNumFrames(self, kInstrumentationStackWalk); in PushInstrumentationStackFrame()
1499 TwoWordReturn Instrumentation::PopInstrumentationStackFrame(Thread* self, in PopInstrumentationStackFrame() argument
1507 self->GetInstrumentationStack(); in PopInstrumentationStackFrame()
1518 self->VerifyStack(); in PopInstrumentationStackFrame()
1535 return_shorty = GetRuntimeMethodShorty(self); in PopInstrumentationStackFrame()
1552 StackHandleScope<1> hs(self); in PopInstrumentationStackFrame()
1573 self, this_object, instrumentation_frame.method_, dex_pc, OptionalFrame{}, return_value); in PopInstrumentationStackFrame()
1578 NthCallerVisitor visitor(self, 1, true); in PopInstrumentationStackFrame()
1582 self->IsForceInterpreter() || in PopInstrumentationStackFrame()
1590 Dbg::IsForcedInterpreterNeededForUpcall(self, visitor.caller)); in PopInstrumentationStackFrame()
1604 << *self; in PopInstrumentationStackFrame()
1607 self->PushDeoptimizationContext(return_value, in PopInstrumentationStackFrame()
1627 uintptr_t Instrumentation::PopFramesForDeoptimization(Thread* self, uintptr_t pop_until) const { in PopFramesForDeoptimization() argument
1629 self->GetInstrumentationStack(); in PopFramesForDeoptimization()