Home
last modified time | relevance | path

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

/art/runtime/
Dthread-inl.h246 int16_t old_state = old_state_and_flags.as_struct.state; in TransitionFromSuspendedToRunnable() local
247 DCHECK_NE(static_cast<ThreadState>(old_state), kRunnable); in TransitionFromSuspendedToRunnable()
251 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
290 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
295 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
305 return static_cast<ThreadState>(old_state); in TransitionFromSuspendedToRunnable()
Dthread.h1393 ThreadState old_state = GetState(); in SetStateUnsafe() local
1394 if (old_state == kRunnable && new_state != kRunnable) { in SetStateUnsafe()
1404 return old_state; in SetStateUnsafe()
Dthread.cc309 int old_state = tls32_.park_state_.fetch_add(1, std::memory_order_relaxed); in Park() local
310 if (old_state == kNoPermit) { in Park()
388 DCHECK_EQ(old_state, kPermitAvailable); in Park()
/art/compiler/optimizing/
Dsharpening.cc320 SubtypeCheckInfo::State old_state = SubtypeCheck<ObjPtr<mirror::Class>>::GetState(klass); in CanUseTypeCheckBitstring() local
321 CHECK(old_state == SubtypeCheckInfo::kAssigned || old_state == SubtypeCheckInfo::kOverflowed) in CanUseTypeCheckBitstring()
322 << 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.cc88 bool FdForwardTransport::ChangeState(TransportState old_state, TransportState new_state) { in ChangeState() argument
89 if (old_state == state_) { in ChangeState()
/art/openjdkjvmti/
Devents.cc576 bool old_state = listener->IsEnabled(); in SetupGcPauseTracking() local
586 if (old_state != new_state) { in SetupGcPauseTracking()
1442 bool old_state; in SetInternalEvent() local
1478 old_state = GetInternalEventRefcount(event) > 0; in SetInternalEvent()
1487 if (old_state != new_state) { in SetInternalEvent()
1494 if (new_state != old_state) { in SetInternalEvent()
1536 bool old_state; in SetEvent() local
1564 old_state = global_mask.Test(event); in SetEvent()
1583 if (new_state != old_state) { in SetEvent()
/art/runtime/gc/collector/
Dsemi_space.cc159 ThreadState old_state = self_->SetStateUnsafe(kRunnable); in MarkingPhase() local
165 CHECK_EQ(self_->SetStateUnsafe(old_state), kRunnable); in MarkingPhase()
/art/runtime/arch/
Dstub_test.cc470 LockWord::LockState old_state = lock.GetState(); in TEST_F() local
471 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TEST_F()
544 LockWord::LockState old_state = lock.GetState(); in TestUnlockObject() local
545 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TestUnlockObject()
/art/runtime/jni/
Djni_internal_test.cc2574 IRTSegmentState old_state = irt.GetSegmentState(); in TEST_F() local
2578 new_state.top_index = old_state.top_index ^ 0x07705005; in TEST_F()
2579 ASSERT_NE(old_state.top_index, new_state.top_index); in TEST_F()