Searched refs:new_lw (Results 1 – 2 of 2) sorted by relevance
/art/runtime/mirror/ |
D | object-readbarrier-inl.h | 157 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/ |
D | monitor.cc | 1013 LockWord new_lw = LockWord::FromHashCode(monitor->GetHashCode(), lw.GCState()); in Deflate() local 1015 obj->SetLockWord(new_lw, false); in Deflate() 1019 LockWord new_lw = LockWord::FromDefault(lw.GCState()); in Deflate() local 1021 obj->SetLockWord(new_lw, false); in Deflate() 1232 LockWord new_lw = LockWord::Default(); in MonitorExit() local 1235 new_lw = LockWord::FromThinLockId(thread_id, new_count, lock_word.GCState()); in MonitorExit() 1237 new_lw = LockWord::FromDefault(lock_word.GCState()); in MonitorExit() 1240 DCHECK_EQ(new_lw.ReadBarrierState(), 0U); in MonitorExit() 1244 h_obj->SetLockWord(new_lw, true); in MonitorExit() 1250 if (h_obj->CasLockWord(lock_word, new_lw, CASMode::kWeak, std::memory_order_release)) { in MonitorExit()
|