Home
last modified time | relevance | path

Searched refs:new_state (Results 1 – 15 of 15) sorted by relevance

/art/runtime/
Dthread-inl.h120 inline ThreadState Thread::SetState(ThreadState new_state) { in SetState() argument
125 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() argument
177 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() argument
227 TransitionToSuspendedAndRunCheckpoints(new_state); in TransitionFromRunnableToSuspended()
Dintern_table.cc485 void InternTable::ChangeWeakRootState(gc::WeakRootState new_state) { in ChangeWeakRootState() argument
487 ChangeWeakRootStateLocked(new_state); in ChangeWeakRootState()
490 void InternTable::ChangeWeakRootStateLocked(gc::WeakRootState new_state) { in ChangeWeakRootStateLocked() argument
492 weak_root_state_ = new_state; in ChangeWeakRootStateLocked()
493 if (new_state != gc::kWeakRootStateNoReadsOrWrites) { in ChangeWeakRootStateLocked()
Dindirect_reference_table.cc446 void IndirectReferenceTable::SetSegmentState(IRTSegmentState new_state) { in SetSegmentState() argument
451 << new_state.top_index; in SetSegmentState()
453 segment_state_ = new_state; in SetSegmentState()
Dmonitor_test.cc121 LockWord::LockState new_state = lock_after.GetState(); in Run() local
124 if (LockWord::LockState::kThinLocked != new_state) { in Run()
126 ASSERT_EQ(LockWord::LockState::kThinLocked, new_state); // To fail the test. in Run()
Dthread.h223 ThreadState SetState(ThreadState new_state);
282 ALWAYS_INLINE void TransitionFromRunnableToSuspended(ThreadState new_state)
1214 ThreadState SetStateUnsafe(ThreadState new_state) { in SetStateUnsafe() argument
1216 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)
Dintern_table.h139 void ChangeWeakRootState(gc::WeakRootState new_state)
261 void ChangeWeakRootStateLocked(gc::WeakRootState new_state)
Dindirect_reference_table.h304 void SetSegmentState(IRTSegmentState new_state);
Druntime.cc1625 void Runtime::SetStatsEnabled(bool new_state) { in SetStatsEnabled() argument
1628 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()
Djni_internal_test.cc2320 IRTSegmentState new_state; in TEST_F() local
2321 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()
Druntime.h444 void SetStatsEnabled(bool new_state)
/art/runtime/openjdkjvmti/
Devents.cc286 bool new_state = listener->IsEnabled(); in SetupGcPauseTracking() local
288 if (old_state != new_state) { in SetupGcPauseTracking()
289 if (new_state) { in SetupGcPauseTracking()
412 bool new_state = global_mask.Test(event); in SetEvent() local
415 if (new_state != old_state) { in SetEvent()
/art/runtime/base/unix_file/
Dfd_file.h159 void resetGuard(GuardState new_state) { in resetGuard() argument
161 guard_state_ = new_state; in resetGuard()
/art/runtime/jdwp/
Djdwp_priv.h111 void SetAwaitingHandshake(bool new_state);
Djdwp_main.cc107 void JdwpNetStateBase::SetAwaitingHandshake(bool new_state) { in SetAwaitingHandshake() argument
108 awaiting_handshake_ = new_state; in SetAwaitingHandshake()
/art/runtime/arch/
Dstub_test.cc604 LockWord::LockState new_state = lock_after.GetState(); in TEST_F() local
605 EXPECT_EQ(LockWord::LockState::kThinLocked, new_state); in TEST_F()
681 LockWord::LockState new_state = lock_after.GetState(); in TestUnlockObject() local
682 EXPECT_EQ(LockWord::LockState::kUnlocked, new_state); in TestUnlockObject()