Home
last modified time | relevance | path

Searched refs:as_struct (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Dthread-inl.h117 CHECK_NE(old_state_and_flags.as_struct.state, kRunnable) << new_state << " " << *this << " " in SetState()
119 tls32_.state_and_flags.as_struct.state = new_state; in SetState()
120 return static_cast<ThreadState>(old_state_and_flags.as_struct.state); in SetState()
191 if (UNLIKELY((old_state_and_flags.as_struct.flags & kCheckpointRequest) != 0)) { in TransitionToSuspendedAndRunCheckpoints()
195 if (UNLIKELY((old_state_and_flags.as_struct.flags & kEmptyCheckpointRequest) != 0)) { in TransitionToSuspendedAndRunCheckpoints()
200 DCHECK_EQ((old_state_and_flags.as_struct.flags & kCheckpointRequest), 0); in TransitionToSuspendedAndRunCheckpoints()
201 DCHECK_EQ((old_state_and_flags.as_struct.flags & kEmptyCheckpointRequest), 0); in TransitionToSuspendedAndRunCheckpoints()
202 new_state_and_flags.as_struct.flags = old_state_and_flags.as_struct.flags; in TransitionToSuspendedAndRunCheckpoints()
203 new_state_and_flags.as_struct.state = new_state; in TransitionToSuspendedAndRunCheckpoints()
217 uint16_t current_flags = tls32_.state_and_flags.as_struct.flags; in PassActiveSuspendBarriers()
[all …]
Dthread.h238 DCHECK_GE(tls32_.state_and_flags.as_struct.state, kTerminated); in GetState()
239 DCHECK_LE(tls32_.state_and_flags.as_struct.state, kSuspended); in GetState()
240 return static_cast<ThreadState>(tls32_.state_and_flags.as_struct.state); in GetState()
257 return state_and_flags.as_struct.state != kRunnable && in IsSuspended()
258 (state_and_flags.as_struct.flags & kSuspendRequest) != 0; in IsSuspended()
1122 return (tls32_.state_and_flags.as_struct.flags & flag) != 0; in ReadFlag()
1126 return (tls32_.state_and_flags.as_struct.flags != 0); in TestAllFlags()
1381 tls32_.state_and_flags.as_struct.state = new_state; in SetStateUnsafe()
1488 } as_struct; member
Dthread.cc1575 if (old_state_and_flags.as_struct.state != kRunnable) { in RequestCheckpoint()
1580 DCHECK_EQ(old_state_and_flags.as_struct.state, kRunnable); in RequestCheckpoint()
1583 new_state_and_flags.as_struct.flags |= kCheckpointRequest; in RequestCheckpoint()
1602 if (old_state_and_flags.as_struct.state != kRunnable) { in RequestEmptyCheckpoint()
1609 DCHECK_EQ(old_state_and_flags.as_struct.state, kRunnable); in RequestEmptyCheckpoint()
1612 new_state_and_flags.as_struct.flags |= kEmptyCheckpointRequest; in RequestEmptyCheckpoint()
1880 << " flags=" << thread->tls32_.state_and_flags.as_struct.flags in DumpState()
2301 tls32_.state_and_flags.as_struct.flags = 0; in Thread()
2302 tls32_.state_and_flags.as_struct.state = kNative; in Thread()