Lines Matching refs:self

593   Thread* const self = Thread::Current();
595 Locks::mutator_lock_->AssertExclusiveHeld(self);
596 Locks::thread_list_lock_->AssertNotHeld(self);
609 MutexLock mu(self, *Locks::thread_list_lock_);
619 ReaderMutexLock mu(self, deoptimized_methods_lock_);
623 MutexLock mu(self, *Locks::thread_list_lock_);
637 Thread* self = Thread::Current();
639 Locks::mutator_lock_->AssertNotHeld(self);
640 Locks::instrument_entrypoints_lock_->AssertHeld(self);
643 MutexLock mu(self, *Locks::runtime_shutdown_lock_);
648 MutexLock mu(self, *Locks::runtime_shutdown_lock_);
764 Thread* self = Thread::Current();
766 WriterMutexLock mu(self, deoptimized_methods_lock_);
777 MutexLock mu(self, *Locks::thread_list_lock_);
787 Thread* self = Thread::Current();
790 WriterMutexLock mu(self, deoptimized_methods_lock_);
814 MutexLock mu(self, *Locks::thread_list_lock_);
1012 size_t Instrumentation::ComputeFrameId(Thread* self,
1017 return StackVisitor::ComputeNumFrames(self, kInstrumentationStackWalk) - no_inline_depth;
1020 static void CheckStackDepth(Thread* self, const InstrumentationStackFrame& instrumentation_frame,
1023 size_t frame_id = StackVisitor::ComputeNumFrames(self, kInstrumentationStackWalk) + delta;
1027 StackVisitor::DescribeStack(self);
1032 void Instrumentation::PushInstrumentationStackFrame(Thread* self, mirror::Object* this_object,
1036 size_t frame_id = StackVisitor::ComputeNumFrames(self, kInstrumentationStackWalk);
1037 std::deque<instrumentation::InstrumentationStackFrame>* stack = self->GetInstrumentationStack();
1046 MethodEnterEvent(self, this_object, method, 0);
1050 TwoWordReturn Instrumentation::PopInstrumentationStackFrame(Thread* self, uintptr_t* return_pc,
1054 std::deque<instrumentation::InstrumentationStackFrame>* stack = self->GetInstrumentationStack();
1061 CheckStackDepth(self, instrumentation_frame, 0);
1062 self->VerifyStack();
1081 MethodExitEvent(self, this_object, instrumentation_frame.method_, dex_pc, return_value);
1086 NthCallerVisitor visitor(self, 1, true);
1090 Dbg::IsForcedInterpreterNeededForUpcall(self, visitor.caller));
1096 return_value.GetJ()) << *self;
1098 self->PushDeoptimizationContext(return_value,
1113 void Instrumentation::PopMethodForUnwind(Thread* self, bool is_deoptimization) const {
1115 std::deque<instrumentation::InstrumentationStackFrame>* stack = self->GetInstrumentationStack();
1118 // TODO: bring back CheckStackDepth(self, instrumentation_frame, 2);
1135 MethodUnwindEvent(self, instrumentation_frame.this_object_, method, dex_pc);