Home
last modified time | relevance | path

Searched refs:state_and_flags (Results 1 – 4 of 4) sorted by relevance

/art/runtime/
Dthread-inl.h113 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in SetState()
115 tls32_.state_and_flags.as_struct.state = new_state; in SetState()
186 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionToSuspendedAndRunCheckpoints()
203 tls32_.state_and_flags.as_atomic_int.CompareExchangeWeakRelease(old_state_and_flags.as_int, in TransitionToSuspendedAndRunCheckpoints()
213 uint16_t current_flags = tls32_.state_and_flags.as_struct.flags; in PassActiveSuspendBarriers()
240 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable()
245 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable()
254 if (LIKELY(tls32_.state_and_flags.as_atomic_int.CompareExchangeWeakAcquire( in TransitionFromSuspendedToRunnable()
283 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable()
288 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in TransitionFromSuspendedToRunnable()
Dthread.h220 DCHECK_GE(tls32_.state_and_flags.as_struct.state, kTerminated); in GetState()
221 DCHECK_LE(tls32_.state_and_flags.as_struct.state, kSuspended); in GetState()
222 return static_cast<ThreadState>(tls32_.state_and_flags.as_struct.state); in GetState()
241 union StateAndFlags state_and_flags; in IsSuspended() local
242 state_and_flags.as_int = tls32_.state_and_flags.as_int; in IsSuspended()
243 return state_and_flags.as_struct.state != kRunnable && in IsSuspended()
244 (state_and_flags.as_struct.flags & kSuspendRequest) != 0; in IsSuspended()
603 OFFSETOF_MEMBER(tls_32bit_sized_values, state_and_flags)); in ThreadFlagsOffset()
1043 return (tls32_.state_and_flags.as_struct.flags & flag) != 0; in ReadFlag()
1047 return (tls32_.state_and_flags.as_struct.flags != 0); in TestAllFlags()
[all …]
Dentrypoints_order_test.cc66 CHECKED(OFFSETOF_MEMBER(Thread, tls32_.state_and_flags) == 0, thread_flags_at_zero); in CheckThreadOffsets()
67 EXPECT_OFFSET_DIFFP(Thread, tls32_, state_and_flags, suspend_count, 4); in CheckThreadOffsets()
Dthread.cc1264 tls32_.state_and_flags.as_atomic_int.FetchAndOrSequentiallyConsistent(flags); in ModifySuspendCountInternal()
1376 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in RequestCheckpoint()
1386 bool success = tls32_.state_and_flags.as_atomic_int.CompareExchangeStrongSequentiallyConsistent( in RequestCheckpoint()
1403 old_state_and_flags.as_int = tls32_.state_and_flags.as_int; in RequestEmptyCheckpoint()
1415 bool success = tls32_.state_and_flags.as_atomic_int.CompareExchangeStrongSequentiallyConsistent( in RequestEmptyCheckpoint()
1663 << " flags=" << thread->tls32_.state_and_flags.as_struct.flags in DumpState()
2049 tls32_.state_and_flags.as_struct.flags = 0; in Thread()
2050 tls32_.state_and_flags.as_struct.state = kNative; in Thread()