Searched refs:lw (Results 1 – 7 of 7) sorted by relevance
/art/runtime/mirror/ |
D | object-readbarrier-inl.h | 91 LockWord lw(static_cast<uint32_t>(result)); in GetReadBarrierState() 92 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() 107 LockWord lw(static_cast<uint32_t>(result)); in GetReadBarrierState() 108 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() 111 LockWord lw = GetLockWord(false); in GetReadBarrierState() local 116 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() 131 LockWord lw(GetFieldPrimitive<uint32_t, /*kIsVolatile=*/false>(MonitorOffset())); in GetReadBarrierState() 132 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() 142 LockWord lw(GetFieldAcquire<uint32_t>(MonitorOffset())); in GetReadBarrierStateAcquire() 143 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierStateAcquire() [all …]
|
D | object.cc | 187 LockWord lw = current_this->GetLockWord(false); in IdentityHashCode() local 188 switch (lw.GetState()) { in IdentityHashCode() 192 LockWord hash_word = LockWord::FromHashCode(GenerateIdentityHashCode(), lw.GCState()); in IdentityHashCode() 196 if (current_this->CasLockWord(lw, hash_word, CASMode::kStrong, std::memory_order_relaxed)) { in IdentityHashCode() 207 Monitor::InflateThinLocked(self, h_this, lw, GenerateIdentityHashCode()); in IdentityHashCode() 214 Monitor* monitor = lw.FatLockMonitor(); in IdentityHashCode() 219 return lw.GetHashCode(); in IdentityHashCode() 222 LOG(FATAL) << "Invalid state during hashcode " << lw.GetState(); in IdentityHashCode()
|
D | object-inl.h | 114 LockWord lw = GetLockWord(false); in SetReadBarrierState() local 115 lw.SetReadBarrierState(rb_state); in SetReadBarrierState() 116 SetLockWord(lw, false); in SetReadBarrierState()
|
/art/runtime/gc/collector/ |
D | concurrent_copying-inl.h | 229 LockWord lw = from_ref->GetLockWord(false); in GetFwdPtr() local 230 if (lw.GetState() == LockWord::kForwardingAddress) { in GetFwdPtr() 231 mirror::Object* fwd_ptr = reinterpret_cast<mirror::Object*>(lw.ForwardingAddress()); in GetFwdPtr()
|
/art/runtime/ |
D | monitor.cc | 220 LockWord lw(GetObject()->GetLockWord(false)); in Install() local 221 switch (lw.GetState()) { in Install() 224 CHECK_EQ(owner->GetThreadId(), lw.ThinLockOwner()); in Install() 226 lock_count_ = lw.ThinLockCount(); in Install() 234 LockWord fat(this, lw.GCState()); in Install() 236 bool success = GetObject()->CasLockWord(lw, fat, CASMode::kWeak, std::memory_order_release); in Install() 254 CHECK_EQ(hash_code_.load(std::memory_order_relaxed), static_cast<int32_t>(lw.GetHashCode())); in Install() 256 LockWord fat(this, lw.GCState()); in Install() 257 return GetObject()->CasLockWord(lw, fat, CASMode::kWeak, std::memory_order_release); in Install() 268 LOG(FATAL) << "Invalid monitor state " << lw.GetState(); in Install() [all …]
|
D | lock_word.h | 168 static bool IsDefault(LockWord lw) { in IsDefault() argument 169 return LockWord().GetValue() == lw.GetValue(); in IsDefault()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 624 LockWord lw(object->GetLockWord(false)); in SetImageBinSlot() local 625 switch (lw.GetState()) { in SetImageBinSlot() 630 bool thin = (lw.GetState() == LockWord::kThinLocked); in SetImageBinSlot() 635 oss << ". Lock owner:" << lw.ThinLockOwner(); in SetImageBinSlot() 645 saved_hashcode_map_.emplace(object, lw.GetHashCode()); in SetImageBinSlot()
|