/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() 97 return self_->GetState() == kRunnable; in IsRunnable() 131 DCHECK_EQ(self_->GetState(), suspended_state_); in ~ScopedThreadSuspension()
|
D | monitor.cc | 158 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 …]
|
D | lock_word.h | 182 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()
|
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 | 184 DCHECK_EQ(GetState(), kRunnable); in TransitionToSuspendedAndRunCheckpoints() 344 DCHECK(this == self || IsSuspended() || GetState() == kWaitingPerformingGc) in RevokeThreadLocalAllocationStack() 345 << GetState() << " thread " << this << " self " << self; in RevokeThreadLocalAllocationStack()
|
D | thread_list.cc | 345 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()
|
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 | 179 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 | 134 JDWP::Append1BE(bytes, Dbg::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()
|
/art/runtime/mirror/ |
D | object.cc | 193 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/ |
D | jdwp_main.cc | 582 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/ |
D | stub_test.cc | 602 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/ |
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_thread.cc | 250 } 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()
|
D | transform.cc | 134 CHECK_EQ(self->GetState(), art::ThreadState::kNative) in Action()
|
/art/runtime/jni/ |
D | jni_env_ext.cc | 197 if ((o->GetLockWord(false).GetState() == LockWord::kThinLocked) && in ComputeMonitorDescription()
|