Home
last modified time | relevance | path

Searched refs:state_ (Results 1 – 9 of 9) sorted by relevance

/art/runtime/base/
Dmutex.cc318 DCHECK_EQ(0, state_.LoadRelaxed()); in Mutex()
335 if (state_.LoadRelaxed() != 0) { in ~Mutex()
368 int32_t cur_state = state_.LoadRelaxed(); in ExclusiveLock()
371 done = state_.CompareExchangeWeakAcquire(0 /* cur_state */, 1 /* new state */); in ExclusiveLock()
376 if (futex(state_.Address(), FUTEX_WAIT, 1, nullptr, nullptr, 0) != 0) { in ExclusiveLock()
386 DCHECK_EQ(state_.LoadRelaxed(), 1); in ExclusiveLock()
411 int32_t cur_state = state_.LoadRelaxed(); in ExclusiveTryLock()
414 done = state_.CompareExchangeWeakAcquire(0 /* cur_state */, 1 /* new state */); in ExclusiveTryLock()
419 DCHECK_EQ(state_.LoadRelaxed(), 1); in ExclusiveTryLock()
468 int32_t cur_state = state_.LoadRelaxed(); in ExclusiveUnlock()
[all …]
Dmutex-inl.h131 int32_t cur_state = state_.LoadRelaxed(); in SharedLock()
134 done = state_.CompareExchangeWeakAcquire(cur_state, cur_state + 1); in SharedLock()
155 int32_t cur_state = state_.LoadRelaxed(); in SharedUnlock()
161 done = state_.CompareExchangeWeakSequentiallyConsistent(cur_state, cur_state - 1); in SharedUnlock()
166 futex(state_.Address(), FUTEX_WAKE, -1, nullptr, nullptr, 0); in SharedUnlock()
208 int32_t state = state_.LoadRelaxed(); in GetExclusiveOwnerTid()
Dmutex.h272 AtomicInteger state_;
395 AtomicInteger state_; variable
/art/runtime/gc/space/
Dregion_space.h238 state_(RegionState::kRegionStateAllocated), type_(RegionType::kRegionTypeToSpace), in Region()
244 state_(RegionState::kRegionStateFree), type_(RegionType::kRegionTypeNone), in Region()
252 return state_; in State()
261 state_ = RegionState::kRegionStateFree; in Clear()
280 bool is_free = state_ == RegionState::kRegionStateFree; in IsFree()
292 state_ = RegionState::kRegionStateAllocated; in Unfree()
299 state_ = RegionState::kRegionStateLarge; in UnfreeLarge()
306 state_ = RegionState::kRegionStateLargeTail; in UnfreeLargeTail()
317 return state_ == RegionState::kRegionStateAllocated; in IsAllocated()
322 bool is_large = state_ == RegionState::kRegionStateLarge; in IsLarge()
[all …]
Dregion_space.cc413 << " state=" << static_cast<uint>(state_) << " type=" << static_cast<uint>(type_) in Dump()
/art/runtime/jdwp/
Djdwp_priv.h113 JdwpState* state_; variable
Djdwp_adb.cc436 return state_->HandlePacket(); in ProcessIncoming()
Djdwp_socket.cc522 return state_->HandlePacket(); in ProcessIncoming()
Djdwp_main.cc40 : state_(state), socket_lock_("JdwpNetStateBase lock", kJdwpSocketLock) { in JdwpNetStateBase()