/art/runtime/ |
D | lock_word-inl.h | 26 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()
|
D | subtype_check_info_test.cc | 137 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 …]
|
D | subtype_check.h | 240 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 …]
|
D | subtype_check_info.h | 170 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()
|
D | scoped_thread_state_change-inl.h | 44 old_thread_state_ = self->GetState(); in ScopedThreadStateChange() 93 return self_->GetState() == kRunnable; in IsRunnable() 127 DCHECK_EQ(self_->GetState(), suspended_state_); in ~ScopedThreadSuspension()
|
D | monitor.cc | 221 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() 1117 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 …]
|
D | lock_word.h | 184 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()
|
D | subtype_check_test.cc | 278 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 …]
|
D | thread-inl.h | 186 DCHECK_EQ(GetState(), kRunnable); in TransitionToSuspendedAndRunCheckpoints() 346 DCHECK(this == self || IsSuspended() || GetState() == kWaitingPerformingGc) in RevokeThreadLocalAllocationStack() 347 << GetState() << " thread " << this << " self " << self; in RevokeThreadLocalAllocationStack()
|
D | thread_list.cc | 350 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()
|
D | monitor_test.cc | 73 LockWord::LockState new_state = lock_after.GetState(); in Run() 85 LockWord::LockState new_state2 = lock_after2.GetState(); in Run()
|
D | signal_catcher.cc | 180 DCHECK_NE(self->GetState(), kRunnable); in Run()
|
D | fault_handler.cc | 278 ThreadState state = thread->GetState(); in IsInGeneratedCode()
|
/art/runtime/native/ |
D | scoped_fast_native_object_access-inl.h | 32 DCHECK_EQ(Self()->GetState(), kRunnable); in ScopedFastNativeObjectAccess()
|
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 186 Append1BE(bytes, ToJdwpThreadStatus(t->GetState())); in ThreadStatsGetterCallback()
|
D | java_lang_Thread.cc | 78 internal_thread_state = thread->GetState(); in Thread_nativeGetStatus()
|
/art/runtime/gc/collector/ |
D | semi_space-inl.h | 32 if (lock_word.GetState() != LockWord::kForwardingAddress) { in GetForwardingAddressInFromSpace()
|
D | concurrent_copying-inl.h | 230 if (lw.GetState() == LockWord::kForwardingAddress) { in GetFwdPtr()
|
D | concurrent_copying.cc | 248 DCHECK(thread == self || thread->IsSuspended() || thread->GetState() == kWaitingPerformingGc) in Run() 249 << thread->GetState() << " thread " << thread << " self " << self; in Run() 443 CHECK(thread == self || thread->IsSuspended() || thread->GetState() == kWaitingPerformingGc) in Run() 444 << thread->GetState() << " thread " << thread << " self " << self; in Run() 960 CHECK(thread == self || thread->IsSuspended() || thread->GetState() == kWaitingPerformingGc) in Run() 961 << thread->GetState() << " thread " << thread << " self " << self; in Run() 1665 DCHECK(thread == self || thread->IsSuspended() || thread->GetState() == kWaitingPerformingGc) in Run() 1666 << thread->GetState() << " thread " << thread << " self " << self; in Run() 3423 if (old_lock_word.GetState() == LockWord::kForwardingAddress) { in Copy() 3457 CHECK_NE(to_ref->GetLockWord(false).GetState(), LockWord::kForwardingAddress); in Copy() [all …]
|
/art/runtime/mirror/ |
D | object.cc | 188 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/ |
D | stub_test.cc | 470 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/ |
D | ti_thread.cc | 253 } 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()
|
D | events-inl.h | 59 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()
|
D | ti_monitor.cc | 376 switch (target_thread->GetState()) { in GetCurrentContendedMonitor()
|
/art/runtime/jni/ |
D | jni_env_ext.cc | 197 if ((o->GetLockWord(false).GetState() == LockWord::kThinLocked) && in ComputeMonitorDescription()
|