Home
last modified time | relevance | path

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

/art/runtime/
Dthread-inl.h86 StateAndFlags state_and_flags = GetStateAndFlags(std::memory_order_relaxed); in CheckSuspend()
160 StateAndFlags old_state_and_flags = GetStateAndFlags(std::memory_order_relaxed); in SetState()
163 StateAndFlags new_state_and_flags = old_state_and_flags.WithState(new_state); in SetState()
237 StateAndFlags old_state_and_flags = GetStateAndFlags(std::memory_order_relaxed); in TransitionToSuspendedAndRunCheckpoints()
251 StateAndFlags new_state_and_flags = old_state_and_flags.WithState(new_state); in TransitionToSuspendedAndRunCheckpoints()
268 StateAndFlags state_and_flags = GetStateAndFlags(std::memory_order_relaxed); in CheckActiveSuspendBarriers()
346 StateAndFlags old_state_and_flags = GetStateAndFlags(std::memory_order_relaxed); in TransitionFromSuspendedToRunnable()
360 StateAndFlags new_state_and_flags = old_state_and_flags.WithState(ThreadState::kRunnable); in TransitionFromSuspendedToRunnable()
Dthread.h369 StateAndFlags state_and_flags = GetStateAndFlags(std::memory_order_acquire); in IsSuspended()
907 StateAndFlags::ValidateThreadState(state); in VerifyState()
1611 return StateAndFlags::EncodeState(state); in StoredThreadStateValue()
1676 StateAndFlags old_state_and_flags = GetStateAndFlags(std::memory_order_relaxed); in SetStateUnsafe()
1690 StateAndFlags new_state_and_flags = old_state_and_flags; in SetStateUnsafe()
1826 class StateAndFlags {
1828 explicit StateAndFlags(uint32_t value) :value_(value) {} in StateAndFlags() function
1851 StateAndFlags WithFlag(ThreadFlag flag) const { in WithFlag()
1852 StateAndFlags result = *this; in WithFlag()
1857 StateAndFlags WithoutFlag(ThreadFlag flag) const { in WithoutFlag()
[all …]
Dthread.cc1580 StateAndFlags old_state_and_flags = GetStateAndFlags(std::memory_order_relaxed); in RequestCheckpoint()
1584 StateAndFlags new_state_and_flags = old_state_and_flags; in RequestCheckpoint()
1601 StateAndFlags old_state_and_flags = GetStateAndFlags(std::memory_order_relaxed); in RequestEmptyCheckpoint()
1610 StateAndFlags new_state_and_flags = old_state_and_flags; in RequestEmptyCheckpoint()
1792 StateAndFlags old_state_and_flags, in EnsureFlipFunctionStarted()
1842 StateAndFlags new_state_and_flags = in EnsureFlipFunctionStarted()
1906 StateAndFlags old_state_and_flags = GetStateAndFlags(std::memory_order_acquire); in WaitForFlipFunction()
1927 StateAndFlags old_state_and_flags = GetStateAndFlags(std::memory_order_acquire); in WaitForFlipFunctionTestingExited()
2045 StateAndFlags state_and_flags = thread->GetStateAndFlags(std::memory_order_relaxed); in DumpState()
2514 StateAndFlags state_and_flags = StateAndFlags(0u).WithState(ThreadState::kNative); in Thread()
[all …]
Dthread_list.cc640 self, flipping_threads[i], Thread::StateAndFlags(0), &exit_flags[i], &finished); in FlipThreadRoots()
1479 Thread::StateAndFlags state_and_flags = self->GetStateAndFlags(std::memory_order_acquire); in Unregister()