Lines Matching full:current
75 auto current = MTManagedThread::GetCurrent(); in DeregisterSuspendedThreads() local
82 // Do not deregister current thread (which should be in status NATIVE) as HasNoActiveThreads in DeregisterSuspendedThreads()
85 if (thread != current && CanDeregister(status)) { in DeregisterSuspendedThreads()
93 } else if (thread != current) { in DeregisterSuspendedThreads()
97 if (thread != current) { in DeregisterSuspendedThreads()
105 // All threads except current are blocked (have BLOCKED or NATIVE status) in DeregisterSuspendedThreads()
107 return StopThreadsOnDeadlock(current); in DeregisterSuspendedThreads()
109 // Sanity check, we should get at least current thread in that list. in DeregisterSuspendedThreads()
124 bool ThreadManager::StopThreadsOnDeadlock(MTManagedThread *current) in StopThreadsOnDeadlock() argument
126 if (!LockOrderGraph::CheckForTerminationLoops(threads_, daemon_threads_, current)) { in StopThreadsOnDeadlock()
135 if (thread != current) { in StopThreadsOnDeadlock()
304 MTManagedThread *current = MTManagedThread::GetCurrent(); in SuspendAndWaitThreadByInternalThreadId() local
306 ASSERT(current->GetStatus() != ThreadStatus::RUNNING); in SuspendAndWaitThreadByInternalThreadId()
313 current->SafepointPoll(); in SuspendAndWaitThreadByInternalThreadId()
322 ASSERT(current != suspended); in SuspendAndWaitThreadByInternalThreadId()
323 if (LIKELY(!current->IsSuspended())) { in SuspendAndWaitThreadByInternalThreadId()