Home
last modified time | relevance | path

Searched refs:kRunnable (Results 1 – 24 of 24) sorted by relevance

/aosp12/art/runtime/
H A Dscoped_thread_state_change-inl.h46 if (new_thread_state == kRunnable) { in ScopedThreadStateChange()
48 } else if (old_thread_state_ == kRunnable) { in ScopedThreadStateChange()
63 if (old_thread_state_ == kRunnable) { in ~ScopedThreadStateChange()
65 } else if (thread_state_ == kRunnable) { in ~ScopedThreadStateChange()
93 return self_->GetState() == kRunnable; in IsRunnable()
105 : ScopedObjectAccessAlreadyRunnable(env), tsc_(Self(), kRunnable) { in ScopedObjectAccessUnchecked()
111 : ScopedObjectAccessAlreadyRunnable(self), tsc_(self, kRunnable) { in ScopedObjectAccessUnchecked()
H A Dthread-inl.h108 DCHECK_NE(new_state, kRunnable); in SetState()
117 CHECK_NE(old_state_and_flags.as_struct.state, kRunnable) << new_state << " " << *this << " " in SetState()
185 DCHECK_NE(new_state, kRunnable); in TransitionToSuspendedAndRunCheckpoints()
186 DCHECK_EQ(GetState(), kRunnable); in TransitionToSuspendedAndRunCheckpoints()
247 DCHECK_NE(static_cast<ThreadState>(old_state), kRunnable); in TransitionFromSuspendedToRunnable()
257 new_state_and_flags.as_struct.state = kRunnable; in TransitionFromSuspendedToRunnable()
H A Dthread_state.h32 kRunnable, // RUNNABLE TS_RUNNING runnable enumerator
H A Dthread_list.cc341 if (thread->GetState() == kRunnable) { in RunCheckpoint()
422 if (thread->GetState() != kRunnable) { in RunEmptyCheckpoint()
517 CHECK_NE(self->GetState(), kRunnable); in FlipThreadRoots()
670 CHECK_NE(self->GetState(), kRunnable); in SuspendAllInternal()
1204 if (thread != self && thread->GetState() == kRunnable) { in SuspendAllDaemonThreadsForShutdown()
1239 DCHECK(thread == self || !all_suspended || thread->GetState() != kRunnable); in SuspendAllDaemonThreadsForShutdown()
1295 CHECK_NE(self->GetState(), kRunnable); in Unregister()
H A Dsignal_catcher.cc180 DCHECK_NE(self->GetState(), kRunnable); in Run()
H A Dfault_handler.cc279 if (state != kRunnable) { in IsInGeneratedCode()
H A Dthread.cc1011 CHECK_NE(self->GetState(), kRunnable); in Attach()
1585 if (old_state_and_flags.as_struct.state != kRunnable) { in RequestCheckpoint()
1590 DCHECK_EQ(old_state_and_flags.as_struct.state, kRunnable); in RequestCheckpoint()
1612 if (old_state_and_flags.as_struct.state != kRunnable) { in RequestEmptyCheckpoint()
1619 DCHECK_EQ(old_state_and_flags.as_struct.state, kRunnable); in RequestEmptyCheckpoint()
1641 if (suspend_state != ThreadState::kRunnable) { in Wait()
1691 if (GetState() == ThreadState::kRunnable) { in RequestSynchronousCheckpoint()
1728 while (GetState() == ThreadState::kRunnable) { in RequestSynchronousCheckpoint()
1741 DCHECK_NE(GetState(), ThreadState::kRunnable); in RequestSynchronousCheckpoint()
2473 CHECK_NE(GetState(), kRunnable); in ~Thread()
H A Dthread.h258 return state_and_flags.as_struct.state != kRunnable && in IsSuspended()
1394 if (old_state == kRunnable && new_state != kRunnable) { in SetStateUnsafe()
H A Dart_method.cc322 CHECK_EQ(kRunnable, self->GetState()); in Invoke()
H A Ddebugger.cc271 if (self->GetState() != kRunnable) { in DdmBroadcast()
H A Dreflection.cc882 DCHECK_EQ(soa.Self()->GetState(), kRunnable); in BoxPrimitive()
H A Dclass_linker.cc3250 DCHECK_EQ(self->GetState(), kRunnable); in DefineClass()
/aosp12/art/runtime/native/
H A Dscoped_fast_native_object_access-inl.h32 DCHECK_EQ(Self()->GetState(), kRunnable); in ScopedFastNativeObjectAccess()
H A Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc115 case kRunnable: in ToJdwpThreadStatus()
H A Djava_lang_Thread.cc82 case kRunnable: return kJavaRunnable; in Thread_nativeGetStatus()
/aosp12/art/openjdkjvmti/
H A Dti_monitor.cc386 case art::kRunnable: in GetCurrentContendedMonitor()
430 if (!target->RequestSynchronousCheckpoint(&closure, art::ThreadState::kRunnable)) { in GetCurrentContendedMonitor()
H A Dti_thread.cc425 case art::ThreadState::kRunnable: in GetJvmtiThreadStateFromInternal()
506 case art::ThreadState::kRunnable: in GetJavaStateFromInternal()
H A Dti_method.cc1204 if (!target->RequestSynchronousCheckpoint(&c, art::ThreadState::kRunnable)) { in GetLocalInstance()
H A Dti_stack.cc946 if (!target->RequestSynchronousCheckpoint(&closure, art::ThreadState::kRunnable)) { in GetOwnedMonitorInfoCommon()
/aosp12/art/runtime/gc/collector/
H A Dsemi_space.cc159 ThreadState old_state = self_->SetStateUnsafe(kRunnable); in MarkingPhase()
165 CHECK_EQ(self_->SetStateUnsafe(old_state), kRunnable); in MarkingPhase()
/aosp12/art/runtime/gc/
H A Dheap-inl.h60 CHECK_EQ(self->GetState(), kRunnable); in AllocObjectWithAllocator()
H A Dheap.cc3386 CHECK_NE(self->GetState(), kRunnable); in PreSweepingGcVerification()
/aosp12/art/dex2oat/driver/
H A Dcompiler_driver.cc1411 CHECK_NE(self->GetState(), kRunnable); in ForAllLambda()
/aosp12/art/compiler/jni/
H A Djni_compiler_test.cc537 EXPECT_EQ(kRunnable, Thread::Current()->GetState()); in expectValidThreadState()