Home
last modified time | relevance | path

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

/art/runtime/
Dthread-inl.h245 int16_t old_state = old_state_and_flags.as_struct.state; in TransitionFromSuspendedToRunnable() local
246 DCHECK_NE(static_cast<ThreadState>(old_state), kRunnable); in TransitionFromSuspendedToRunnable()
250 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
289 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
294 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
304 return static_cast<ThreadState>(old_state); in TransitionFromSuspendedToRunnable()
Dthread.h1372 ThreadState old_state = GetState(); in SetStateUnsafe() local
1373 if (old_state == kRunnable && new_state != kRunnable) { in SetStateUnsafe()
1383 return old_state; in SetStateUnsafe()
Dthread.cc305 int old_state = tls32_.park_state_.fetch_add(1, std::memory_order_relaxed); in Park() local
306 if (old_state == kNoPermit) { in Park()
384 DCHECK_EQ(old_state, kPermitAvailable); in Park()
/art/compiler/optimizing/
Dsharpening.cc272 SubtypeCheckInfo::State old_state = SubtypeCheck<ObjPtr<mirror::Class>>::GetState(klass); in CanUseTypeCheckBitstring() local
273 CHECK(old_state == SubtypeCheckInfo::kAssigned || old_state == SubtypeCheckInfo::kOverflowed) in CanUseTypeCheckBitstring()
274 << 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.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.cc2471 IRTSegmentState old_state = irt.GetSegmentState(); in TEST_F() local
2475 new_state.top_index = old_state.top_index ^ 0x07705005; in TEST_F()
2476 ASSERT_NE(old_state.top_index, new_state.top_index); in TEST_F()