Lines Matching refs:self

168   void Run(art::Thread* self) override REQUIRES_SHARED(art::Locks::mutator_lock_) {  in Run()
172 auto visitor = MakeStackTraceVisitor(self, start_input, stop_input, frames_fn); in Run()
235 void Run(art::Thread* self) override REQUIRES_SHARED(art::Locks::mutator_lock_) { in Run()
240 auto visitor = MakeStackTraceVisitor(self, start_input, stop_input, frames_fn); in Run()
332 art::Thread* self = art::Thread::Current(); in Run() local
333 Work(thread, self); in Run()
334 barrier.Pass(self); in Run()
337 void Work(art::Thread* thread, art::Thread* self) in Work()
345 std::vector<jvmtiFrameInfo>* thread_frames = data->GetFrameStorageFor(self, thread); in Work()
372 art::Thread* self = art::Thread::Current(); in RunCheckpointAndWait() local
373 art::ScopedThreadStateChange tsc(self, art::ThreadState::kWaitingForCheckPointsToRun); in RunCheckpointAndWait()
374 closure.barrier.Increment(self, barrier_count); in RunCheckpointAndWait()
397 std::vector<jvmtiFrameInfo>* GetFrameStorageFor(art::Thread* self, art::Thread* thread) in GetAllStackTraces()
400 art::MutexLock mu(self, mutex); in GetAllStackTraces()
405 self, thread->GetPeerFromOtherThread()); in GetAllStackTraces()
540 std::vector<jvmtiFrameInfo>* GetFrameStorageFor(art::Thread* self, art::Thread* thread) in GetThreadListStackTraces()
547 art::MutexLock mu(self, mutex); in GetThreadListStackTraces()
604 art::Thread* self = data.threads[index]; in GetThreadListStackTraces() local
609 DCHECK(self->GetPeerFromOtherThread() != nullptr); in GetThreadListStackTraces()
701 void Run(art::Thread* self) override REQUIRES_SHARED(art::Locks::mutator_lock_) { in Run()
712 self, in Run()
761 void Run(art::Thread* self) override REQUIRES_SHARED(art::Locks::mutator_lock_) { in Run()
778 self, in Run()
930 art::Thread* self = art::Thread::Current(); in GetOwnedMonitorInfoCommon() local
934 art::Locks::thread_list_lock_->ExclusiveLock(self); in GetOwnedMonitorInfoCommon()
938 art::Locks::thread_list_lock_->ExclusiveUnlock(self); in GetOwnedMonitorInfoCommon()
941 if (target != self) { in GetOwnedMonitorInfoCommon()
950 art::Locks::thread_list_lock_->ExclusiveUnlock(self); in GetOwnedMonitorInfoCommon()
958 closure.Run(self); in GetOwnedMonitorInfoCommon()
1035 art::Thread* self = art::Thread::Current(); in NotifyFramePop() local
1038 ScopedNoUserCodeSuspension snucs(self); in NotifyFramePop()
1042 art::ScopedObjectAccess soa(self); in NotifyFramePop()
1043 art::Locks::thread_list_lock_->ExclusiveLock(self); in NotifyFramePop()
1046 art::Locks::thread_list_lock_->ExclusiveUnlock(self); in NotifyFramePop()
1049 if (target != self) { in NotifyFramePop()
1052 art::Locks::thread_suspend_count_lock_->ExclusiveLock(self); in NotifyFramePop()
1054 art::Locks::thread_suspend_count_lock_->ExclusiveUnlock(self); in NotifyFramePop()
1055 art::Locks::thread_list_lock_->ExclusiveUnlock(self); in NotifyFramePop()
1058 art::Locks::thread_suspend_count_lock_->ExclusiveUnlock(self); in NotifyFramePop()
1070 art::Locks::thread_list_lock_->ExclusiveUnlock(self); in NotifyFramePop()
1075 art::Locks::thread_list_lock_->ExclusiveUnlock(self); in NotifyFramePop()
1084 art::WriterMutexLock lk(self, tienv->event_info_mutex_); in NotifyFramePop()
1097 art::FunctionClosure fc([](art::Thread* self) REQUIRES_SHARED(art::Locks::mutator_lock_) { in NotifyFramePop()
1098 DeoptManager::Get()->DeoptimizeThread(self); in NotifyFramePop()
1102 art::Locks::thread_list_lock_->ExclusiveUnlock(self); in NotifyFramePop()
1117 NonStandardExitFrames(art::Thread* self, jvmtiEnv* env, jthread thread) in NonStandardExitFrames() argument
1121 : snucs_(self) { in NonStandardExitFrames()
1123 art::Locks::user_code_suspension_lock_->AssertExclusiveHeld(self); in NonStandardExitFrames()
1128 old_state_ = self->TransitionFromSuspendedToRunnable(); in NonStandardExitFrames()
1129 art::ScopedObjectAccessUnchecked soau(self); in NonStandardExitFrames()
1131 art::Locks::thread_list_lock_->ExclusiveLock(self); in NonStandardExitFrames()
1137 art::MutexLock tscl_mu(self, *art::Locks::thread_suspend_count_lock_); in NonStandardExitFrames()
1138 if (target_ != self && target_->GetUserCodeSuspendCount() == 0) { in NonStandardExitFrames()
1203 art::Thread* self = art::Thread::Current(); in RELEASE_SHARED() local
1206 self->TransitionFromRunnableToSuspended(old_state_); in RELEASE_SHARED()
1249 SetupMethodExitEvents(art::Thread* self, in SetupMethodExitEvents() argument
1254 : self_(self), event_handler_(event_handler), target_(target) { in SetupMethodExitEvents()
1316 bool ValidReturnType(art::Thread* self, art::ObjPtr<art::mirror::Class> return_type, T value)
1322 bool ValidReturnType<type>(art::Thread * self ATTRIBUTE_UNUSED, \
1342 bool ValidReturnType<jobject>(art::Thread* self, in ValidReturnType() argument
1352 return return_type->IsAssignableFrom(self->DecodeJObject(return_value)->GetClass()); in ValidReturnType()
1358 art::Thread* self = art::Thread::Current(); in PopFrame() local
1359 NonStandardExitFrames<NonStandardExitType::kPopFrame> frames(self, env, thread); in PopFrame()
1361 art::Locks::thread_list_lock_->ExclusiveUnlock(self); in PopFrame()
1369 art::FunctionClosure fc([](art::Thread* self) REQUIRES_SHARED(art::Locks::mutator_lock_){ in PopFrame()
1370 DeoptManager::Get()->DeoptimizeThread(self); in PopFrame()
1374 art::Locks::thread_list_lock_->ExclusiveUnlock(self); in PopFrame()
1382 art::Thread* self = art::Thread::Current(); in ForceEarlyReturn() local
1386 ScopedLocalRef<jthread> cur_thread(self->GetJniEnv(), nullptr); in ForceEarlyReturn()
1388 art::ScopedObjectAccess soa(self); in ForceEarlyReturn()
1389 cur_thread.reset(soa.AddLocalReference<jthread>(self->GetPeer())); in ForceEarlyReturn()
1394 SetupMethodExitEvents smee(self, event_handler, thread); in ForceEarlyReturn()
1395 NonStandardExitFrames<NonStandardExitType::kForceReturn> frames(self, env, thread); in ForceEarlyReturn()
1398 art::Locks::thread_list_lock_->ExclusiveUnlock(self); in ForceEarlyReturn()
1401 self, frames.final_frame_->GetMethod()->ResolveReturnType(), value)) { in ForceEarlyReturn()
1403 art::Locks::thread_list_lock_->ExclusiveUnlock(self); in ForceEarlyReturn()
1411 art::Locks::thread_list_lock_->ExclusiveUnlock(self); in ForceEarlyReturn()
1418 art::FunctionClosure fc([](art::Thread* self) REQUIRES_SHARED(art::Locks::mutator_lock_){ in ForceEarlyReturn()
1419 DeoptManager::Get()->DeoptimizeThread(self); in ForceEarlyReturn()
1423 art::Locks::thread_list_lock_->ExclusiveUnlock(self); in ForceEarlyReturn()