Home
last modified time | relevance | path

Searched refs:new_lw (Results 1 – 2 of 2) sorted by relevance

/art/runtime/mirror/
Dobject-readbarrier-inl.h157 LockWord new_lw; in AtomicSetReadBarrierState() local
166 new_lw = lw; in AtomicSetReadBarrierState()
167 new_lw.SetReadBarrierState(rb_state); in AtomicSetReadBarrierState()
173 } while (!CasLockWord(expected_lw, new_lw, CASMode::kWeak, kMemoryOrder)); in AtomicSetReadBarrierState()
179 LockWord new_lw; in AtomicSetMarkBit() local
187 new_lw = lw; in AtomicSetMarkBit()
188 new_lw.SetMarkBitState(mark_bit); in AtomicSetMarkBit()
190 } while (!CasLockWord(expected_lw, new_lw, CASMode::kWeak, std::memory_order_relaxed)); in AtomicSetMarkBit()
/art/runtime/
Dmonitor.cc1009 LockWord new_lw = LockWord::FromHashCode(monitor->GetHashCode(), lw.GCState()); in Deflate() local
1011 obj->SetLockWord(new_lw, false); in Deflate()
1015 LockWord new_lw = LockWord::FromDefault(lw.GCState()); in Deflate() local
1017 obj->SetLockWord(new_lw, false); in Deflate()
1244 LockWord new_lw = LockWord::Default(); in MonitorExit() local
1247 new_lw = LockWord::FromThinLockId(thread_id, new_count, lock_word.GCState()); in MonitorExit()
1249 new_lw = LockWord::FromDefault(lock_word.GCState()); in MonitorExit()
1252 DCHECK_EQ(new_lw.ReadBarrierState(), 0U); in MonitorExit()
1256 h_obj->SetLockWord(new_lw, true); in MonitorExit()
1262 if (h_obj->CasLockWord(lock_word, new_lw, CASMode::kWeak, std::memory_order_release)) { in MonitorExit()