Home
last modified time | relevance | path

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

12

/art/runtime/
Dlock_word-inl.h26 DCHECK_EQ(GetState(), kThinLocked); in ThinLockOwner()
31 DCHECK_EQ(GetState(), kThinLocked); in ThinLockCount()
36 DCHECK_EQ(GetState(), kFatLocked); in FatLockMonitor()
42 DCHECK_EQ(GetState(), kForwardingAddress); in ForwardingAddress()
47 DCHECK_EQ(GetState(), kUnlocked); in LockWord()
56 DCHECK_EQ(GetState(), kHashCode); in GetHashCode()
Dmonitor.cc142 switch (lw.GetState()) { in Install()
161 LOG(FATAL) << "Invalid monitor state " << lw.GetState(); in Install()
616 if (lw.GetState() == LockWord::kFatLocked) { in Deflate()
668 CHECK_EQ(obj->GetLockWord(true).GetState(), LockWord::kFatLocked); in Inflate()
676 DCHECK_EQ(lock_word.GetState(), LockWord::kThinLocked); in InflateThinLocked()
696 if (lock_word.GetState() == LockWord::kThinLocked && in InflateThinLocked()
729 switch (lock_word.GetState()) { in MonitorEnter()
778 LOG(FATAL) << "Invalid monitor state " << lock_word.GetState(); in MonitorEnter()
792 switch (lock_word.GetState()) { in MonitorExit()
824 LOG(FATAL) << "Invalid monitor state " << lock_word.GetState(); in MonitorExit()
[all …]
Dthread-inl.h85 DCHECK_EQ(GetState(), kRunnable); in TransitionFromRunnableToSuspended()
207 DCHECK(this == self || IsSuspended() || GetState() == kWaitingPerformingGc) in RevokeThreadLocalAllocationStack()
208 << GetState() << " thread " << this << " self " << self; in RevokeThreadLocalAllocationStack()
Dthread_list.cc204 CHECK_NE(self->GetState(), kRunnable); in RunCheckpoint()
224 if (thread->GetState() == kRunnable) { in RunCheckpoint()
282 CHECK_NE(self->GetState(), kRunnable); in RunCheckpointOnRunnableThreads()
319 CHECK_NE(self->GetState(), kRunnable); in SuspendAll()
667 CHECK_NE(self->GetState(), kRunnable); in SuspendSelfForDebugger()
844 if (thread != self && thread->GetState() == kRunnable) { in SuspendAllDaemonThreads()
Dscoped_thread_state_change.h46 old_thread_state_ = self->GetState(); in ScopedThreadStateChange()
180 return self_->GetState() == kRunnable; in IsRunnable()
Dlock_word.h109 LockState GetState() const { in GetState() function
Dmonitor_test.cc120 LockWord::LockState new_state = lock_after.GetState(); in Run()
132 LockWord::LockState new_state2 = lock_after2.GetState(); in Run()
Dsignal_catcher.cc203 DCHECK_NE(self->GetState(), kRunnable); in Run()
Dfault_handler.cc213 ThreadState state = thread->GetState(); in IsInGeneratedCode()
Dthread.cc396 CHECK_NE(self->GetState(), kRunnable); in Attach()
587 os << GetState() in ShortDump()
792 << " " << thread->GetState(); in DumpState()
941 if ((o->GetLockWord(false).GetState() == LockWord::kThinLocked) && in DumpLockedObject()
965 ThreadState state = thread->GetState(); in ShouldShowNativeStack()
1221 CHECK_NE(GetState(), kRunnable); in ~Thread()
Dthread.h181 ThreadState GetState() const { in GetState() function
872 ThreadState old_state = GetState(); in SetStateUnsafe()
Druntime.cc573 CHECK_EQ(self->GetState(), kNative); in StartDaemonThreads()
912 CHECK_EQ(self->GetState(), kNative); in InitNativeMethods()
Dreflection.cc670 DCHECK_EQ(soa.Self()->GetState(), kRunnable); in BoxPrimitive()
/art/runtime/native/
Dscoped_fast_native_object_access.h36 DCHECK_EQ(Self()->GetState(), kRunnable); in ScopedFastNativeObjectAccess()
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc126 JDWP::Append1BE(bytes, Dbg::ToJdwpThreadStatus(t->GetState())); in ThreadStatsGetterCallback()
Djava_lang_Thread.cc66 internal_thread_state = thread->GetState(); in Thread_nativeGetStatus()
/art/runtime/mirror/
Dobject.cc158 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()
Dart_method.cc272 CHECK_EQ(kRunnable, self->GetState()); in Invoke()
/art/runtime/jdwp/
Djdwp_main.cc428 CHECK_EQ(thread_->GetState(), kNative); in Run()
472 CHECK_EQ(thread_->GetState(), kWaitingInMainDebuggerLoop); in Run()
529 CHECK_EQ(thread_->GetState(), kWaitingInMainDebuggerLoop); in Run()
/art/runtime/gc/collector/
Dsemi_space-inl.h47 if (lock_word.GetState() != LockWord::kForwardingAddress) { in GetForwardingAddressInFromSpace()
Dmark_sweep.cc962 CHECK(thread == self || thread->IsSuspended() || thread->GetState() == kWaitingPerformingGc) in Run()
963 << thread->GetState() << " thread " << thread << " self " << self; in Run()
/art/runtime/arch/
Dstub_test.cc615 LockWord::LockState old_state = lock.GetState(); in TEST_F()
621 LockWord::LockState new_state = lock_after.GetState(); in TEST_F()
631 LockWord::LockState l_inc_state = l_inc.GetState(); in TEST_F()
645 LockWord::LockState new_state2 = lock_after2.GetState(); in TEST_F()
688 LockWord::LockState old_state = lock.GetState(); in TestUnlockObject()
697 LockWord::LockState new_state = lock_after.GetState(); in TestUnlockObject()
703 LockWord::LockState new_state2 = lock_after2.GetState(); in TestUnlockObject()
709 LockWord::LockState new_state3 = lock_after3.GetState(); in TestUnlockObject()
742 LockWord::LockState iter_state = lock_iter.GetState(); in TestUnlockObject()
773 LockWord::LockState iter_state = lock_iter.GetState(); in TestUnlockObject()
[all …]
/art/compiler/jni/
Djni_compiler_test.cc198 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_foo()
264 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooI()
295 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooII()
327 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooJJ()
360 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooDD()
392 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooJJ_synchronized()
423 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooIOO()
481 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooSII()
509 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooSDD()
618 EXPECT_EQ(kNative, Thread::Current()->GetState()); in Java_MyClassNatives_fooSIOO()
[all …]
/art/runtime/gc/
Dheap-inl.h46 CHECK_EQ(self->GetState(), kRunnable); in AllocObjectWithAllocator()
/art/compiler/
Dimage_writer.cc236 return object->GetLockWord(false).GetState() == LockWord::kForwardingAddress; in IsImageOffsetAssigned()
256 switch (lw.GetState()) { in SetImageBinSlot()
394 if (object->GetLockWord(false).GetState() != LockWord::kForwardingAddress) { in IsImageBinSlotAssigned()

12