Home
last modified time | relevance | path

Searched refs:old_state (Results 1 – 11 of 11) sorted by relevance

/art/runtime/
Dthread-inl.h243 int16_t old_state = old_state_and_flags.as_struct.state; in TransitionFromSuspendedToRunnable() local
244 DCHECK_NE(static_cast<ThreadState>(old_state), kRunnable); in TransitionFromSuspendedToRunnable()
248 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
287 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
292 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
302 return static_cast<ThreadState>(old_state); in TransitionFromSuspendedToRunnable()
Dthread.h1321 ThreadState old_state = GetState(); in SetStateUnsafe() local
1322 if (old_state == kRunnable && new_state != kRunnable) { in SetStateUnsafe()
1332 return old_state; in SetStateUnsafe()
Dthread.cc304 int old_state = tls32_.park_state_.fetch_add(1, std::memory_order_relaxed); in Park() local
305 if (old_state == kNoPermit) { in Park()
383 DCHECK_EQ(old_state, kPermitAvailable); in Park()
Ddebugger.cc3264 const ThreadState old_state = self->SetStateUnsafe(kRunnable); in ManageDeoptimization() local
3274 CHECK_EQ(self->SetStateUnsafe(old_state), kRunnable); in ManageDeoptimization()
/art/compiler/optimizing/
Dsharpening.cc241 SubtypeCheckInfo::State old_state = SubtypeCheck<ObjPtr<mirror::Class>>::GetState(klass); in CanUseTypeCheckBitstring() local
242 CHECK(old_state == SubtypeCheckInfo::kAssigned || old_state == SubtypeCheckInfo::kOverflowed) in CanUseTypeCheckBitstring()
243 << klass->PrettyDescriptor() << "/" << old_state in CanUseTypeCheckBitstring()
/art/dt_fd_forward/
Ddt_fd_forward.h106 bool ChangeState(TransportState old_state, TransportState new_state); // REQUIRES(state_mutex_);
Ddt_fd_forward.cc86 bool FdForwardTransport::ChangeState(TransportState old_state, TransportState new_state) { in ChangeState() argument
87 if (old_state == state_) { in ChangeState()
/art/openjdkjvmti/
Devents.cc553 bool old_state = listener->IsEnabled(); in SetupGcPauseTracking() local
563 if (old_state != new_state) { in SetupGcPauseTracking()
1306 bool old_state; in SetEvent() local
1334 old_state = global_mask.Test(event); in SetEvent()
1353 if (new_state != old_state) { in SetEvent()
/art/runtime/gc/collector/
Dsemi_space.cc183 ThreadState old_state = self_->SetStateUnsafe(kRunnable); in MarkingPhase() local
189 CHECK_EQ(self_->SetStateUnsafe(old_state), kRunnable); in MarkingPhase()
/art/runtime/arch/
Dstub_test.cc602 LockWord::LockState old_state = lock.GetState(); in TEST_F() local
603 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TEST_F()
676 LockWord::LockState old_state = lock.GetState(); in TestUnlockObject() local
677 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TestUnlockObject()
/art/runtime/jni/
Djni_internal_test.cc2452 IRTSegmentState old_state = irt.GetSegmentState(); in TEST_F() local
2456 new_state.top_index = old_state.top_index ^ 0x07705005; in TEST_F()
2457 ASSERT_NE(old_state.top_index, new_state.top_index); in TEST_F()