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()
93 return self_->GetState() == kRunnable; in IsRunnable()
127 DCHECK_EQ(self_->GetState(), suspended_state_); in ~ScopedThreadSuspension()
Dmonitor.cc221 switch (lw.GetState()) { in Install()
268 LOG(FATAL) << "Invalid monitor state " << lw.GetState(); in Install()
994 if (lw.GetState() == LockWord::kFatLocked) { in Deflate()
1044 CHECK_EQ(obj->GetLockWord(true).GetState(), LockWord::kFatLocked); in Inflate()
1052 DCHECK_EQ(lock_word.GetState(), LockWord::kThinLocked); in InflateThinLocked()
1072 if (lock_word.GetState() == LockWord::kThinLocked && in InflateThinLocked()
1116 switch (lock_word.GetState()) { in MonitorEnter()
1214 LOG(FATAL) << "Invalid monitor state " << lock_word.GetState(); in MonitorEnter()
1230 switch (lock_word.GetState()) { in MonitorExit()
1276 LOG(FATAL) << "Invalid monitor state " << lock_word.GetState(); in MonitorExit()
[all …]
Dlock_word.h184 LockState GetState() const { in GetState() function
217 DCHECK_NE(static_cast<uint32_t>(GetState()), static_cast<uint32_t>(kForwardingAddress)); in SetReadBarrierState()
230 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.h186 DCHECK_EQ(GetState(), kRunnable); in TransitionToSuspendedAndRunCheckpoints()
346 DCHECK(this == self || IsSuspended() || GetState() == kWaitingPerformingGc) in RevokeThreadLocalAllocationStack()
347 << GetState() << " thread " << this << " self " << self; in RevokeThreadLocalAllocationStack()
Dthread_list.cc350 if (thread->GetState() == kRunnable) { in RunCheckpoint()
431 if (thread->GetState() != kRunnable) { in RunEmptyCheckpoint()
526 CHECK_NE(self->GetState(), kRunnable); in FlipThreadRoots()
568 ThreadState state = thread->GetState(); in FlipThreadRoots()
679 CHECK_NE(self->GetState(), kRunnable); in SuspendAllInternal()
1200 if (thread != self && thread->GetState() == kRunnable) { in SuspendAllDaemonThreadsForShutdown()
1235 DCHECK(thread == self || !all_suspended || thread->GetState() != kRunnable); in SuspendAllDaemonThreadsForShutdown()
1291 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.cc180 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.cc186 Append1BE(bytes, 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.cc188 switch (lw.GetState()) { in IdentityHashCode()
193 DCHECK_EQ(hash_word.GetState(), LockWord::kHashCode); in IdentityHashCode()
222 LOG(FATAL) << "Invalid state during hashcode " << lw.GetState(); in IdentityHashCode()
/art/runtime/arch/
Dstub_test.cc470 LockWord::LockState old_state = lock.GetState(); in TEST_F()
476 LockWord::LockState new_state = lock_after.GetState(); in TEST_F()
486 LockWord::LockState l_inc_state = l_inc.GetState(); in TEST_F()
500 LockWord::LockState new_state2 = lock_after2.GetState(); in TEST_F()
544 LockWord::LockState old_state = lock.GetState(); in TestUnlockObject()
553 LockWord::LockState new_state = lock_after.GetState(); in TestUnlockObject()
559 LockWord::LockState new_state2 = lock_after2.GetState(); in TestUnlockObject()
565 LockWord::LockState new_state3 = lock_after3.GetState(); in TestUnlockObject()
598 LockWord::LockState iter_state = lock_iter.GetState(); in TestUnlockObject()
629 LockWord::LockState iter_state = lock_iter.GetState(); in TestUnlockObject()
[all …]
/art/openjdkjvmti/
Dti_thread.cc253 } else if (*thr == nullptr || (*thr)->GetState() == art::ThreadState::kTerminated) { in GetAliveNativeThread()
399 thread_state.art_state = target->GetState(); in GetNativeThreadState()
888 art::ThreadState state = target->GetState(); in SuspendOther()
1098 } else if (target->GetState() == art::ThreadState::kStarting || target->IsStillStarting()) { in StopThread()
1135 } else if (target->GetState() == art::ThreadState::kStarting || target->IsStillStarting()) { in InterruptThread()
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()
Dtransform.cc140 CHECK_EQ(self->GetState(), art::ThreadState::kNative) in Action()
Dti_monitor.cc376 switch (target_thread->GetState()) { in GetCurrentContendedMonitor()
/art/runtime/jni/
Djni_env_ext.cc197 if ((o->GetLockWord(false).GetState() == LockWord::kThinLocked) && in ComputeMonitorDescription()

12