Searched refs:cur_state (Results 1 - 3 of 3) sorted by relevance

/art/runtime/base/
H A Dmutex-inl.h131 int32_t cur_state = state_.LoadRelaxed(); local
132 if (LIKELY(cur_state >= 0)) {
134 done = state_.CompareExchangeWeakAcquire(cur_state, cur_state + 1);
136 HandleSharedLockContention(self, cur_state);
155 int32_t cur_state = state_.LoadRelaxed(); local
156 if (LIKELY(cur_state > 0)) {
161 done = state_.CompareExchangeWeakSequentiallyConsistent(cur_state, cur_state - 1);
162 if (done && (cur_state
[all...]
H A Dmutex.cc368 int32_t cur_state = state_.LoadRelaxed(); local
369 if (LIKELY(cur_state == 0)) {
371 done = state_.CompareExchangeWeakAcquire(0 /* cur_state */, 1 /* new state */);
411 int32_t cur_state = state_.LoadRelaxed(); local
412 if (cur_state == 0) {
414 done = state_.CompareExchangeWeakAcquire(0 /* cur_state */, 1 /* new state */);
468 int32_t cur_state = state_.LoadRelaxed(); local
469 if (LIKELY(cur_state == 1)) {
476 done = state_.CompareExchangeWeakSequentiallyConsistent(cur_state, 0 /* new state */);
486 LOG(FATAL) << "Unexpected state_ in unlock " << cur_state << " fo
555 int32_t cur_state = state_.LoadRelaxed(); local
591 int32_t cur_state = state_.LoadRelaxed(); local
625 int32_t cur_state = state_.LoadRelaxed(); local
673 HandleSharedLockContention(Thread* self, int32_t cur_state) argument
691 int32_t cur_state = state_.LoadRelaxed(); local
[all...]
H A Dmutex.h392 void HandleSharedLockContention(Thread* self, int32_t cur_state);

Completed in 82 milliseconds