Home
last modified time | relevance | path

Searched refs:GetState (Results 1 – 25 of 31) 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()
66 DCHECK_EQ(GetState(), kHashCode); in GetHashCode()
Dmonitor.cc146 switch (lw.GetState()) { in Install()
165 LOG(FATAL) << "Invalid monitor state " << lw.GetState(); in Install()
593 if (lw.GetState() == LockWord::kFatLocked) { in Deflate()
652 CHECK_EQ(obj->GetLockWord(true).GetState(), LockWord::kFatLocked); in Inflate()
660 DCHECK_EQ(lock_word.GetState(), LockWord::kThinLocked); in InflateThinLocked()
678 if (lock_word.GetState() == LockWord::kThinLocked && in InflateThinLocked()
711 switch (lock_word.GetState()) { in MonitorEnter()
769 LOG(FATAL) << "Invalid monitor state " << lock_word.GetState(); in MonitorEnter()
784 switch (lock_word.GetState()) { in MonitorExit()
828 LOG(FATAL) << "Invalid monitor state " << lock_word.GetState(); in MonitorExit()
[all …]
Dthread-inl.h114 DCHECK_EQ(GetState(), kRunnable); in TransitionFromRunnableToSuspended()
242 DCHECK(this == self || IsSuspended() || GetState() == kWaitingPerformingGc) in RevokeThreadLocalAllocationStack()
243 << GetState() << " thread " << this << " self " << self; in RevokeThreadLocalAllocationStack()
Dthread_list.cc180 if (thread->GetState() == kRunnable) { in Run()
258 CHECK_NE(self->GetState(), kRunnable); in RunCheckpoint()
278 if (thread->GetState() == kRunnable) { in RunCheckpoint()
341 CHECK_NE(self->GetState(), kRunnable); in RunCheckpointOnRunnableThreads()
374 CHECK_NE(self->GetState(), kRunnable); in FlipThreadRoots()
466 CHECK_NE(self->GetState(), kRunnable); in SuspendAll()
879 CHECK_NE(self->GetState(), kRunnable); in SuspendSelfForDebugger()
1067 if (thread != self && thread->GetState() == kRunnable) { in SuspendAllDaemonThreads()
1109 CHECK_NE(self->GetState(), kRunnable); in Unregister()
Dlock_word.h154 LockState GetState() const { in GetState() function
181 DCHECK_NE(static_cast<uint32_t>(GetState()), static_cast<uint32_t>(kForwardingAddress)); in SetReadBarrierState()
Dscoped_thread_state_change.h48 old_thread_state_ = self->GetState(); in ScopedThreadStateChange()
174 return self_->GetState() == kRunnable; in IsRunnable()
Dmonitor_test.cc121 LockWord::LockState new_state = lock_after.GetState(); in Run()
133 LockWord::LockState new_state2 = lock_after2.GetState(); in Run()
Dsignal_catcher.cc190 DCHECK_NE(self->GetState(), kRunnable); in Run()
Dfault_handler.cc310 ThreadState state = thread->GetState(); in IsInGeneratedCode()
Dthread.cc540 CHECK_NE(self->GetState(), kRunnable); in Attach()
705 os << GetState() in ShortDump()
945 << " " << thread->GetState(); in DumpState()
1100 if ((o->GetLockWord(false).GetState() == LockWord::kThinLocked) && in DumpLockedObject()
1127 ThreadState state = thread->GetState(); in ShouldShowNativeStack()
1422 CHECK_NE(GetState(), kRunnable); in ~Thread()
Dthread.h203 ThreadState GetState() const { in GetState() function
965 ThreadState old_state = GetState(); in SetStateUnsafe()
Dart_method.cc377 CHECK_EQ(kRunnable, self->GetState()); in Invoke()
Druntime.cc684 CHECK_EQ(self->GetState(), kNative); in StartDaemonThreads()
1133 CHECK_EQ(self->GetState(), kNative); in InitNativeMethods()
/art/runtime/native/
Dscoped_fast_native_object_access.h36 DCHECK_EQ(Self()->GetState(), kRunnable); in ScopedFastNativeObjectAccess()
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc123 JDWP::Append1BE(bytes, Dbg::ToJdwpThreadStatus(t->GetState())); in ThreadStatsGetterCallback()
Djava_lang_Thread.cc68 internal_thread_state = thread->GetState(); in Thread_nativeGetStatus()
/art/runtime/mirror/
Dobject.cc157 switch (lw.GetState()) { in IdentityHashCode()
163 DCHECK_EQ(hash_word.GetState(), LockWord::kHashCode); in IdentityHashCode()
190 LOG(FATAL) << "Invalid state during hashcode " << lw.GetState(); in IdentityHashCode()
/art/runtime/gc/collector/
Dsemi_space-inl.h47 if (lock_word.GetState() != LockWord::kForwardingAddress) { in GetForwardingAddressInFromSpace()
Dconcurrent_copying.cc164 CHECK(thread == self || thread->IsSuspended() || thread->GetState() == kWaitingPerformingGc) in Run()
165 << thread->GetState() << " thread " << thread << " self " << self; in Run()
303 CHECK(thread == self || thread->IsSuspended() || thread->GetState() == kWaitingPerformingGc) in Run()
304 << thread->GetState() << " thread " << thread << " self " << self; in Run()
307 if (thread->GetState() == kRunnable) { in Run()
480 if (lw.GetState() == LockWord::kForwardingAddress) { in GetFwdPtr()
1342 if (old_lock_word.GetState() == LockWord::kForwardingAddress) { in Copy()
1379 CHECK_NE(to_ref->GetLockWord(false).GetState(), LockWord::kForwardingAddress); in Copy()
1406 CHECK_NE(to_ref->GetLockWord(false).GetState(), LockWord::kForwardingAddress); in Copy()
Dmark_sweep.cc1071 CHECK(thread == self || thread->IsSuspended() || thread->GetState() == kWaitingPerformingGc) in Run()
1072 << thread->GetState() << " thread " << thread << " self " << self; in Run()
1082 if (thread->GetState() == kRunnable) { in Run()
/art/runtime/jdwp/
Djdwp_main.cc459 CHECK_EQ(thread_->GetState(), kNative); in Run()
503 CHECK_EQ(thread_->GetState(), kWaitingInMainDebuggerLoop); in Run()
560 CHECK_EQ(thread_->GetState(), kWaitingInMainDebuggerLoop); in Run()
/art/runtime/arch/
Dstub_test.cc862 LockWord::LockState old_state = lock.GetState(); in TEST_F()
868 LockWord::LockState new_state = lock_after.GetState(); in TEST_F()
878 LockWord::LockState l_inc_state = l_inc.GetState(); in TEST_F()
892 LockWord::LockState new_state2 = lock_after2.GetState(); in TEST_F()
936 LockWord::LockState old_state = lock.GetState(); in TestUnlockObject()
945 LockWord::LockState new_state = lock_after.GetState(); in TestUnlockObject()
951 LockWord::LockState new_state2 = lock_after2.GetState(); in TestUnlockObject()
957 LockWord::LockState new_state3 = lock_after3.GetState(); in TestUnlockObject()
990 LockWord::LockState iter_state = lock_iter.GetState(); in TestUnlockObject()
1021 LockWord::LockState iter_state = lock_iter.GetState(); in TestUnlockObject()
[all …]
/art/compiler/jni/
Djni_compiler_test.cc193 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_foo()
248 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooI()
278 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooII()
309 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooJJ()
341 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooDD()
372 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooJJ_synchronized()
402 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooIOO()
459 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooSII()
486 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooSDD()
589 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooSIOO()
[all …]
/art/runtime/gc/
Dheap-inl.h48 CHECK_EQ(self->GetState(), kRunnable); in AllocObjectWithAllocator()
/art/compiler/
Dimage_writer.cc258 return object->GetLockWord(false).GetState() == LockWord::kForwardingAddress; in IsImageOffsetAssigned()
278 switch (lw.GetState()) { in SetImageBinSlot()
494 if (object->GetLockWord(false).GetState() != LockWord::kForwardingAddress) { in IsImageBinSlotAssigned()

12