• Home
  • Raw
  • Download

Lines Matching refs:Thread

36 static inline Thread* ThreadForEnv(JNIEnv* env) {  in ThreadForEnv()
41 inline void Thread::AllowThreadSuspension() { in AllowThreadSuspension()
42 DCHECK_EQ(Thread::Current(), this); in AllowThreadSuspension()
51 inline void Thread::CheckSuspend() { in CheckSuspend()
52 DCHECK_EQ(Thread::Current(), this); in CheckSuspend()
66 inline void Thread::CheckEmptyCheckpointFromWeakRefAccess(BaseMutex* cond_var_mutex) { in CheckEmptyCheckpointFromWeakRefAccess()
67 Thread* self = Thread::Current(); in CheckEmptyCheckpointFromWeakRefAccess()
91 inline void Thread::CheckEmptyCheckpointFromMutex() { in CheckEmptyCheckpointFromMutex()
92 DCHECK_EQ(Thread::Current(), this); in CheckEmptyCheckpointFromMutex()
102 inline ThreadState Thread::SetState(ThreadState new_state) { in SetState()
108 if (kIsDebugBuild && this != Thread::Current()) { in SetState()
112 << Thread::Current() << ") changing state to " << new_state; in SetState()
121 inline bool Thread::IsThreadSuspensionAllowable() const { in IsThreadSuspensionAllowable()
143 inline void Thread::AssertThreadSuspensionIsAllowable(bool check_locks) const { in AssertThreadSuspensionIsAllowable()
182 inline void Thread::TransitionToSuspendedAndRunCheckpoints(ThreadState new_state) { in TransitionToSuspendedAndRunCheckpoints()
213 inline void Thread::PassActiveSuspendBarriers() { in PassActiveSuspendBarriers()
228 inline void Thread::TransitionFromRunnableToSuspended(ThreadState new_state) { in TransitionFromRunnableToSuspended()
231 DCHECK_EQ(this, Thread::Current()); in TransitionFromRunnableToSuspended()
240 inline ThreadState Thread::TransitionFromSuspendedToRunnable() { in TransitionFromSuspendedToRunnable()
278 Thread* thread_to_pass = nullptr; in TransitionFromSuspendedToRunnable()
290 Thread::resume_cond_->Wait(thread_to_pass); in TransitionFromSuspendedToRunnable()
305 inline mirror::Object* Thread::AllocTlab(size_t bytes) { in AllocTlab()
313 inline bool Thread::PushOnThreadLocalAllocationStack(mirror::Object* obj) { in PushOnThreadLocalAllocationStack()
328 inline void Thread::SetThreadLocalAllocationStack(StackReference<mirror::Object>* start, in SetThreadLocalAllocationStack()
330 DCHECK(Thread::Current() == this) << "Should be called by self"; in SetThreadLocalAllocationStack()
340 inline void Thread::RevokeThreadLocalAllocationStack() { in RevokeThreadLocalAllocationStack()
343 Thread* self = Thread::Current(); in RevokeThreadLocalAllocationStack()
351 inline void Thread::PoisonObjectPointersIfDebug() { in PoisonObjectPointersIfDebug()
353 Thread::Current()->PoisonObjectPointers(); in PoisonObjectPointersIfDebug()
357 inline bool Thread::ModifySuspendCount(Thread* self, in ModifySuspendCount()
388 inline ShadowFrame* Thread::PushShadowFrame(ShadowFrame* new_top_frame) { in PushShadowFrame()
393 inline ShadowFrame* Thread::PopShadowFrame() { in PopShadowFrame()
397 inline uint8_t* Thread::GetStackEndForInterpreter(bool implicit_overflow_check) const { in GetStackEndForInterpreter()
411 inline void Thread::ResetDefaultStackEnd() { in ResetDefaultStackEnd()