Home
last modified time | relevance | path

Searched refs:GetState (Results 1 – 25 of 41) sorted by relevance

12

/art/runtime/
Dlock_word-inl.h26 DCHECK_EQ(GetState(), kThinLocked); in ThinLockOwner()
32 DCHECK_EQ(GetState(), kThinLocked); in ThinLockCount()
38 DCHECK_EQ(GetState(), kFatLocked); in FatLockMonitor()
45 DCHECK_EQ(GetState(), kForwardingAddress); in ForwardingAddress()
50 DCHECK_EQ(GetState(), kUnlocked); in LockWord()
64 DCHECK_EQ(GetState(), kHashCode); in GetHashCode()
Dsubtype_check_info_test.cc137 DCHECK_EQ(SubtypeCheckInfo::kUninitialized, cleared_copy.GetState()); in CopyCleared()
195 EXPECT_EQ(SubtypeCheckInfo::kUninitialized, MakeSubtypeCheckInfo().GetState()); in TEST_F()
197 MakeSubtypeCheckInfo(/*path_to_root=*/{}, /*next=*/MakeBitStringChar(1)).GetState()); in TEST_F()
202 /*depth=*/1u).GetState()); in TEST_F()
207 /*depth=*/1u).GetState()); in TEST_F()
214 /*depth=*/BitString::kCapacity).GetState()); in TEST_F()
219 /*depth=*/BitString::kCapacity).GetState()); in TEST_F()
225 /*depth=*/BitString::kCapacity + 1u).GetState()); in TEST_F()
313 EXPECT_EQ(SubtypeCheckInfo::kAssigned, sci.GetState()); // Root is always assigned. in TEST_F()
324 EXPECT_EQ(SubtypeCheckInfo::kAssigned, childC.GetState()); in TEST_F()
[all …]
Dsubtype_check.h240 return InitializeOrAssign(klass, /*assign=*/false).GetState(); in EnsureInitialized()
253 return InitializeOrAssign(klass, /*assign=*/true).GetState(); in EnsureAssigned()
294 static SubtypeCheckInfo::State GetState(ClassPtr klass) in GetState() function
297 return GetSubtypeCheckInfo(klass).GetState(); in GetState()
309 DCHECK_NE(SubtypeCheckInfo::kUninitialized, GetSubtypeCheckInfo(klass).GetState()); in GetEncodedPathToRootForSource()
323 DCHECK_EQ(SubtypeCheckInfo::kAssigned, sci.GetState()); in GetEncodedPathToRootForTarget()
337 DCHECK_EQ(SubtypeCheckInfo::kAssigned, sci.GetState()); in GetEncodedPathToRootMask()
386 if (root_sci.GetState() != SubtypeCheckInfo::kUninitialized) { in InitializeOrAssign()
394 DCHECK_EQ(SubtypeCheckInfo::kAssigned, GetSubtypeCheckInfo(klass).GetState()) in InitializeOrAssign()
403 SubtypeCheckInfo::State parent_state = GetSubtypeCheckInfo(parent_klass).GetState(); in InitializeOrAssign()
[all …]
Dsubtype_check_info.h170 if (target.GetState() != SubtypeCheckInfo::kAssigned) { in IsSubtypeOf()
172 } else if (GetState() == SubtypeCheckInfo::kUninitialized) { in IsSubtypeOf()
204 DCHECK_EQ(SubtypeCheckInfo::kAssigned, io.GetState()); in CreateRoot()
221 DCHECK(GetState() == kAssigned || GetState() == kOverflowed) in CreateChild()
222 << "Unexpected bitstring state: " << GetState(); in CreateChild()
234 DCHECK_NE(kAssigned, child.GetState()) << child.GetBitString(); in CreateChild()
235 DCHECK_NE(kUninitialized, child.GetState()) << child.GetBitString(); in CreateChild()
261 DCHECK(child.GetState() == kAssigned || child.GetState() == kOverflowed); in CreateChild()
269 State GetState() const { in GetState() function
481 (void)GetState(); in DcheckInvariants()
Dscoped_thread_state_change-inl.h44 old_thread_state_ = self->GetState(); in ScopedThreadStateChange()
97 return self_->GetState() == kRunnable; in IsRunnable()
131 DCHECK_EQ(self_->GetState(), suspended_state_); in ~ScopedThreadSuspension()
Dmonitor.cc158 switch (lw.GetState()) { in Install()
177 LOG(FATAL) << "Invalid monitor state " << lw.GetState(); in Install()
968 if (lw.GetState() == LockWord::kFatLocked) { in Deflate()
1028 CHECK_EQ(obj->GetLockWord(true).GetState(), LockWord::kFatLocked); in Inflate()
1036 DCHECK_EQ(lock_word.GetState(), LockWord::kThinLocked); in InflateThinLocked()
1056 if (lock_word.GetState() == LockWord::kThinLocked && in InflateThinLocked()
1096 switch (lock_word.GetState()) { in MonitorEnter()
1181 LOG(FATAL) << "Invalid monitor state " << lock_word.GetState(); in MonitorEnter()
1197 switch (lock_word.GetState()) { in MonitorExit()
1243 LOG(FATAL) << "Invalid monitor state " << lock_word.GetState(); in MonitorExit()
[all …]
Dlock_word.h182 LockState GetState() const { in GetState() function
215 DCHECK_NE(static_cast<uint32_t>(GetState()), static_cast<uint32_t>(kForwardingAddress)); in SetReadBarrierState()
228 DCHECK_NE(static_cast<uint32_t>(GetState()), static_cast<uint32_t>(kForwardingAddress)); in SetMarkBitState()
Dsubtype_check_test.cc278 SubtypeCheckInfo::State GetState() const in GetState() function
281 return SC::GetSubtypeCheckInfo(klass_).GetState(); in GetState()
350 EXPECT_EQ(SubtypeCheckInfo::kUninitialized, SCTree::Lookup(kls).GetState()); in TEST_F()
449 EXPECT_EQ(SubtypeCheckInfo::kUninitialized, child2_tree.GetState()) << *child2; in TEST_F()
461 EXPECT_EQ(SubtypeCheckInfo::kAssigned, child_tree.GetState()); in TEST_F()
494 EXPECT_EQ(SubtypeCheckInfo::kUninitialized, child2_tree.GetState()) << *child2; in TEST_F()
505 EXPECT_EQ(SubtypeCheckInfo::kAssigned, child_tree.GetState()); in TEST_F()
515 EXPECT_EQ(SubtypeCheckInfo::kUninitialized, sc_tree.GetState()) << sc_tree.GetClass(); in ApplyTransition()
559 return sc_tree.GetState(); in ApplyTransition()
626 sc_tree.GetState(), in EnsureStateChangedTestRecursiveGeneric()
[all …]
Dthread-inl.h184 DCHECK_EQ(GetState(), kRunnable); in TransitionToSuspendedAndRunCheckpoints()
344 DCHECK(this == self || IsSuspended() || GetState() == kWaitingPerformingGc) in RevokeThreadLocalAllocationStack()
345 << GetState() << " thread " << this << " self " << self; in RevokeThreadLocalAllocationStack()
Dthread_list.cc345 if (thread->GetState() == kRunnable) { in RunCheckpoint()
430 if (thread->GetState() != kRunnable) { in RunEmptyCheckpoint()
525 CHECK_NE(self->GetState(), kRunnable); in FlipThreadRoots()
567 ThreadState state = thread->GetState(); in FlipThreadRoots()
681 CHECK_NE(self->GetState(), kRunnable); in SuspendAllInternal()
1155 CHECK_NE(self->GetState(), kRunnable); in SuspendSelfForDebugger()
1369 if (thread != self && thread->GetState() == kRunnable) { in SuspendAllDaemonThreadsForShutdown()
1428 CHECK_NE(self->GetState(), kRunnable); in Unregister()
Dmonitor_test.cc73 LockWord::LockState new_state = lock_after.GetState(); in Run()
85 LockWord::LockState new_state2 = lock_after2.GetState(); in Run()
Dsignal_catcher.cc179 DCHECK_NE(self->GetState(), kRunnable); in Run()
Dfault_handler.cc278 ThreadState state = thread->GetState(); in IsInGeneratedCode()
/art/runtime/native/
Dscoped_fast_native_object_access-inl.h32 DCHECK_EQ(Self()->GetState(), kRunnable); in ScopedFastNativeObjectAccess()
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc134 JDWP::Append1BE(bytes, Dbg::ToJdwpThreadStatus(t->GetState())); in ThreadStatsGetterCallback()
Djava_lang_Thread.cc78 internal_thread_state = thread->GetState(); in Thread_nativeGetStatus()
/art/runtime/gc/collector/
Dsemi_space-inl.h32 if (lock_word.GetState() != LockWord::kForwardingAddress) { in GetForwardingAddressInFromSpace()
Dconcurrent_copying-inl.h230 if (lw.GetState() == LockWord::kForwardingAddress) { in GetFwdPtr()
/art/runtime/mirror/
Dobject.cc193 switch (lw.GetState()) { in IdentityHashCode()
198 DCHECK_EQ(hash_word.GetState(), LockWord::kHashCode); in IdentityHashCode()
227 LOG(FATAL) << "Invalid state during hashcode " << lw.GetState(); in IdentityHashCode()
/art/runtime/jdwp/
Djdwp_main.cc582 CHECK_EQ(thread_->GetState(), kNative); in Run()
626 CHECK_EQ(thread_->GetState(), kWaitingInMainDebuggerLoop); in Run()
682 CHECK_EQ(thread_->GetState(), kWaitingInMainDebuggerLoop); in Run()
/art/runtime/arch/
Dstub_test.cc602 LockWord::LockState old_state = lock.GetState(); in TEST_F()
608 LockWord::LockState new_state = lock_after.GetState(); in TEST_F()
618 LockWord::LockState l_inc_state = l_inc.GetState(); in TEST_F()
632 LockWord::LockState new_state2 = lock_after2.GetState(); in TEST_F()
676 LockWord::LockState old_state = lock.GetState(); in TestUnlockObject()
685 LockWord::LockState new_state = lock_after.GetState(); in TestUnlockObject()
691 LockWord::LockState new_state2 = lock_after2.GetState(); in TestUnlockObject()
697 LockWord::LockState new_state3 = lock_after3.GetState(); in TestUnlockObject()
730 LockWord::LockState iter_state = lock_iter.GetState(); in TestUnlockObject()
761 LockWord::LockState iter_state = lock_iter.GetState(); in TestUnlockObject()
[all …]
/art/openjdkjvmti/
Devents-inl.h59 DCHECK_EQ(art::Thread::Current()->GetState(), art::ThreadState::kNative); in ScopedEventDispatchEnvironment()
65 DCHECK_EQ(art::Thread::Current()->GetState(), art::ThreadState::kNative); in ScopedEventDispatchEnvironment()
81 DCHECK_EQ(art::Thread::Current()->GetState(), art::ThreadState::kNative); in ~ScopedEventDispatchEnvironment()
Dti_thread.cc250 } else if (*thr == nullptr || (*thr)->GetState() == art::ThreadState::kTerminated) { in GetAliveNativeThread()
396 thread_state.art_state = target->GetState(); in GetNativeThreadState()
885 art::ThreadState state = target->GetState(); in SuspendOther()
1095 } else if (target->GetState() == art::ThreadState::kStarting || target->IsStillStarting()) { in StopThread()
1132 } else if (target->GetState() == art::ThreadState::kStarting || target->IsStillStarting()) { in InterruptThread()
Dtransform.cc134 CHECK_EQ(self->GetState(), art::ThreadState::kNative) in Action()
/art/runtime/jni/
Djni_env_ext.cc197 if ((o->GetLockWord(false).GetState() == LockWord::kThinLocked) && in ComputeMonitorDescription()

12