Searched refs:new_state (Results 1 – 15 of 15) sorted by relevance
120 inline ThreadState Thread::SetState(ThreadState new_state) { in SetState() argument125 DCHECK_NE(new_state, kRunnable); in SetState()130 << Thread::Current() << ") changing state to " << new_state; in SetState()135 tls32_.state_and_flags.as_struct.state = new_state; in SetState()176 inline void Thread::TransitionToSuspendedAndRunCheckpoints(ThreadState new_state) { in TransitionToSuspendedAndRunCheckpoints() argument177 DCHECK_NE(new_state, kRunnable); in TransitionToSuspendedAndRunCheckpoints()195 new_state_and_flags.as_struct.state = new_state; in TransitionToSuspendedAndRunCheckpoints()222 inline void Thread::TransitionFromRunnableToSuspended(ThreadState new_state) { in TransitionFromRunnableToSuspended() argument227 TransitionToSuspendedAndRunCheckpoints(new_state); in TransitionFromRunnableToSuspended()
485 void InternTable::ChangeWeakRootState(gc::WeakRootState new_state) { in ChangeWeakRootState() argument487 ChangeWeakRootStateLocked(new_state); in ChangeWeakRootState()490 void InternTable::ChangeWeakRootStateLocked(gc::WeakRootState new_state) { in ChangeWeakRootStateLocked() argument492 weak_root_state_ = new_state; in ChangeWeakRootStateLocked()493 if (new_state != gc::kWeakRootStateNoReadsOrWrites) { in ChangeWeakRootStateLocked()
446 void IndirectReferenceTable::SetSegmentState(IRTSegmentState new_state) { in SetSegmentState() argument451 << new_state.top_index; in SetSegmentState()453 segment_state_ = new_state; in SetSegmentState()
121 LockWord::LockState new_state = lock_after.GetState(); in Run() local124 if (LockWord::LockState::kThinLocked != new_state) { in Run()126 ASSERT_EQ(LockWord::LockState::kThinLocked, new_state); // To fail the test. in Run()
223 ThreadState SetState(ThreadState new_state);282 ALWAYS_INLINE void TransitionFromRunnableToSuspended(ThreadState new_state)1214 ThreadState SetStateUnsafe(ThreadState new_state) { in SetStateUnsafe() argument1216 if (old_state == kRunnable && new_state != kRunnable) { in SetStateUnsafe()1220 TransitionToSuspendedAndRunCheckpoints(new_state); in SetStateUnsafe()1224 tls32_.state_and_flags.as_struct.state = new_state; in SetStateUnsafe()1270 ALWAYS_INLINE void TransitionToSuspendedAndRunCheckpoints(ThreadState new_state)
139 void ChangeWeakRootState(gc::WeakRootState new_state)261 void ChangeWeakRootStateLocked(gc::WeakRootState new_state)
304 void SetSegmentState(IRTSegmentState new_state);
1625 void Runtime::SetStatsEnabled(bool new_state) { in SetStatsEnabled() argument1628 if (new_state == true) { in SetStatsEnabled()1632 if (stats_enabled_ != new_state) { in SetStatsEnabled()1635 } else if (stats_enabled_ != new_state) { in SetStatsEnabled()1638 stats_enabled_ = new_state; in SetStatsEnabled()
2320 IRTSegmentState new_state; in TEST_F() local2321 new_state.top_index = old_state.top_index ^ 0x07705005; in TEST_F()2322 ASSERT_NE(old_state.top_index, new_state.top_index); in TEST_F()2327 *reinterpret_cast<IRTSegmentState*>(base + segment_state_offset) = new_state; in TEST_F()2330 EXPECT_EQ(new_state.top_index, irt.GetSegmentState().top_index); in TEST_F()
444 void SetStatsEnabled(bool new_state)
286 bool new_state = listener->IsEnabled(); in SetupGcPauseTracking() local288 if (old_state != new_state) { in SetupGcPauseTracking()289 if (new_state) { in SetupGcPauseTracking()412 bool new_state = global_mask.Test(event); in SetEvent() local415 if (new_state != old_state) { in SetEvent()
159 void resetGuard(GuardState new_state) { in resetGuard() argument161 guard_state_ = new_state; in resetGuard()
111 void SetAwaitingHandshake(bool new_state);
107 void JdwpNetStateBase::SetAwaitingHandshake(bool new_state) { in SetAwaitingHandshake() argument108 awaiting_handshake_ = new_state; in SetAwaitingHandshake()
604 LockWord::LockState new_state = lock_after.GetState(); in TEST_F() local605 EXPECT_EQ(LockWord::LockState::kThinLocked, new_state); in TEST_F()681 LockWord::LockState new_state = lock_after.GetState(); in TestUnlockObject() local682 EXPECT_EQ(LockWord::LockState::kUnlocked, new_state); in TestUnlockObject()