Home
last modified time | relevance | path

Searched refs:lw (Results 1 – 14 of 14) sorted by relevance

/art/runtime/mirror/
Dobject-readbarrier-inl.h94 LockWord lw(static_cast<uint32_t>(result)); in GetReadBarrierState()
95 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState()
110 LockWord lw(static_cast<uint32_t>(result)); in GetReadBarrierState()
111 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState()
115 LockWord lw = GetLockWord(false); in GetReadBarrierState() local
120 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState()
135 LockWord lw(GetFieldPrimitive<uint32_t, /*kIsVolatile=*/false>(MonitorOffset())); in GetReadBarrierState()
136 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierState()
146 LockWord lw(GetFieldAcquire<uint32_t>(MonitorOffset())); in GetReadBarrierStateAcquire()
147 uint32_t rb_state = lw.ReadBarrierState(); in GetReadBarrierStateAcquire()
[all …]
Dobject.cc192 LockWord lw = current_this->GetLockWord(false); in IdentityHashCodeHelper() local
193 switch (lw.GetState()) { in IdentityHashCodeHelper()
197 LockWord hash_word = LockWord::FromHashCode(GenerateIdentityHashCode(), lw.GCState()); in IdentityHashCodeHelper()
201 if (current_this->CasLockWord(lw, hash_word, CASMode::kStrong, std::memory_order_relaxed)) { in IdentityHashCodeHelper()
215 Monitor::InflateThinLocked(self, h_this, lw, GenerateIdentityHashCode()); in IdentityHashCodeHelper()
222 Monitor* monitor = lw.FatLockMonitor(); in IdentityHashCodeHelper()
227 return lw.GetHashCode(); in IdentityHashCodeHelper()
230 LOG(FATAL) << "Invalid state during hashcode " << lw.GetState(); in IdentityHashCodeHelper()
Dobject-inl.h114 LockWord lw = GetLockWord(false); in SetReadBarrierState() local
115 lw.SetReadBarrierState(rb_state); in SetReadBarrierState()
116 SetLockWord(lw, false); in SetReadBarrierState()
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h228 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/
Dmonitor.cc234 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 …]
Dlock_word.h169 static bool IsDefault(LockWord lw) { in IsDefault() argument
170 return LockWord().GetValue() == lw.GetValue(); in IsDefault()
/art/runtime/interpreter/mterp/riscv64/
Darray.S12 lw t2, MIRROR_ARRAY_LENGTH_OFFSET(t0)
121 lw $length, MIRROR_ARRAY_LENGTH_OFFSET($array) // length (signed 32b)
146 lw t0, MIRROR_INT_ARRAY_DATA_OFFSET(t0)
Dmain.S187 lw \reg, (\count*2)(xPC)
384 lw $reg, ($reg) // reg := fp[vreg]
439 lw t1, MIRROR_CLASS_STATUS_OFFSET(t0) // t1 := status word, sext
Dinvoke.S1119 lw a4, 4*4($z2)
1124 lw a3, 3*4($z2)
1129 lw a2, 2*4($z2)
1134 lw a1, 1*4($z2)
1526 lw $z0, ($z1)
1527 lw $z5, ($z2)
Dobject.S244 lw $dst, ($src)
/art/runtime/arch/riscv64/
Dquick_entrypoints_riscv64.S77 lw t2, (t1) // T2 is the 4 bytes at address T1
225 INVOKE_STUB_LOAD_REG lw, a1, t0, 4, t4, INVOKE_STUB_LOAD_REG_SIZE, .Lfill_regs, \sfx
227 INVOKE_STUB_LOAD_REG lw, a2, t0, 4, t4, INVOKE_STUB_LOAD_REG_SIZE, .Lfill_regs, \sfx
228 INVOKE_STUB_LOAD_REG lw, a3, t0, 4, t4, INVOKE_STUB_LOAD_REG_SIZE, .Lfill_regs, \sfx
229 INVOKE_STUB_LOAD_REG lw, a4, t0, 4, t4, INVOKE_STUB_LOAD_REG_SIZE, .Lfill_regs, \sfx
230 INVOKE_STUB_LOAD_REG lw, a5, t0, 4, t4, INVOKE_STUB_LOAD_REG_SIZE, .Lfill_regs, \sfx
231 INVOKE_STUB_LOAD_REG lw, a6, t0, 4, t4, INVOKE_STUB_LOAD_REG_SIZE, .Lfill_regs, \sfx
232 INVOKE_STUB_LOAD_REG lw, a7, t0, 4, t4, INVOKE_STUB_LOAD_REG_SKIP_OFFSET, .Lfill_regs, \sfx
1196 lw t6, MIRROR_OBJECT_LOCK_WORD_OFFSET(\obj)
1259 lw t6, THREAD_IS_GC_MARKING_OFFSET(xSELF)
[all …]
Djni_entrypoints_riscv64.S134 lw t0, ART_METHOD_ACCESS_FLAGS_OFFSET(t0) // uint32_t access_flags
265 lw t2, ART_METHOD_ACCESS_FLAGS_OFFSET(t0) // Load access flags.
Dasm_support_riscv64.S751 lw t2, THREAD_ID_OFFSET(xSELF)
790 lw t2, THREAD_ID_OFFSET(xSELF)
/art/dex2oat/linker/
Dimage_writer.cc676 LockWord lw(object->GetLockWord(false)); in SetImageBinSlot() local
677 switch (lw.GetState()) { in SetImageBinSlot()
682 bool thin = (lw.GetState() == LockWord::kThinLocked); in SetImageBinSlot()
687 oss << ". Lock owner:" << lw.ThinLockOwner(); in SetImageBinSlot()
697 saved_hashcode_map_.insert(std::make_pair(object, lw.GetHashCode())); in SetImageBinSlot()