/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() 112 LockWord lw = GetLockWord(false); in GetReadBarrierState() local 117 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() 132 LockWord lw(GetFieldPrimitive<uint32_t, /*kIsVolatile=*/false>(MonitorOffset())); in GetReadBarrierState() 133 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState() 143 LockWord lw(GetFieldAcquire<uint32_t>(MonitorOffset())); in GetReadBarrierStateAcquire() 144 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierStateAcquire() [all …]
|
D | object.cc | 191 LockWord lw = current_this->GetLockWord(false); in IdentityHashCode() local 192 switch (lw.GetState()) { in IdentityHashCode() 196 LockWord hash_word = LockWord::FromHashCode(GenerateIdentityHashCode(), lw.GCState()); in IdentityHashCode() 200 if (current_this->CasLockWord(lw, hash_word, CASMode::kStrong, std::memory_order_relaxed)) { in IdentityHashCode() 211 Monitor::InflateThinLocked(self, h_this, lw, GenerateIdentityHashCode()); in IdentityHashCode() 218 Monitor* monitor = lw.FatLockMonitor(); in IdentityHashCode() 223 return lw.GetHashCode(); in IdentityHashCode() 226 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 | 228 LockWord lw = from_ref->GetLockWord(false); in GetFwdPtrUnchecked() local 229 if (lw.GetState() == LockWord::kForwardingAddress) { in GetFwdPtrUnchecked() 230 mirror::Object* fwd_ptr = reinterpret_cast<mirror::Object*>(lw.ForwardingAddress()); in GetFwdPtrUnchecked()
|
/art/runtime/arch/riscv64/ |
D | quick_entrypoints_riscv64.S | 72 lw t1, (t0) // t1 is the 4 bytes at address t0 179 lw a1, (s3) // Load "this" parameter, 220 .Lload4i1, a1, s3, 4, lw, t3, .Lload4i2, t4, .Lload8i2, .Lfill_regs, \sfx 222 INVOKE_STUB_LOAD_REG .Lload4i2, a2, s3, 4, lw, t3, .Lload4i3, t4, .Lload8i3, .Lfill_regs, \sfx 223 INVOKE_STUB_LOAD_REG .Lload4i3, a3, s3, 4, lw, t3, .Lload4i4, t4, .Lload8i4, .Lfill_regs, \sfx 224 INVOKE_STUB_LOAD_REG .Lload4i4, a4, s3, 4, lw, t3, .Lload4i5, t4, .Lload8i5, .Lfill_regs, \sfx 225 INVOKE_STUB_LOAD_REG .Lload4i5, a5, s3, 4, lw, t3, .Lload4i6, t4, .Lload8i6, .Lfill_regs, \sfx 226 INVOKE_STUB_LOAD_REG .Lload4i6, a6, s3, 4, lw, t3, .Lload4i7, t4, .Lload8i7, .Lfill_regs, \sfx 227 INVOKE_STUB_LOAD_REG .Lload4i7, a7, s3, 4, lw, t3, .Lskip4, t4, .Lskip8, .Lfill_regs, \sfx
|
D | jni_entrypoints_riscv64.S | 100 lw t0, ART_METHOD_ACCESS_FLAGS_OFFSET(t0) // uint32_t access_flags
|
/art/runtime/ |
D | monitor.cc | 234 LockWord lw(GetObject()->GetLockWord(false)); in Install() local 235 switch (lw.GetState()) { in Install() 238 CHECK_EQ(owner->GetThreadId(), lw.ThinLockOwner()); in Install() 240 lock_count_ = lw.ThinLockCount(); in Install() 244 LockWord fat(this, lw.GCState()); in Install() 246 bool success = GetObject()->CasLockWord(lw, fat, CASMode::kWeak, std::memory_order_release); in Install() 258 CHECK_EQ(hash_code_.load(std::memory_order_relaxed), static_cast<int32_t>(lw.GetHashCode())); in Install() 260 LockWord fat(this, lw.GCState()); in Install() 261 return GetObject()->CasLockWord(lw, fat, CASMode::kWeak, std::memory_order_release); in Install() 272 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 | 452 LockWord lw(object->GetLockWord(false)); in SetImageBinSlot() local 453 switch (lw.GetState()) { in SetImageBinSlot() 458 bool thin = (lw.GetState() == LockWord::kThinLocked); in SetImageBinSlot() 463 oss << ". Lock owner:" << lw.ThinLockOwner(); in SetImageBinSlot() 473 saved_hashcode_map_.insert(std::make_pair(object, lw.GetHashCode())); in SetImageBinSlot()
|