Home
last modified time | relevance | path

Searched refs:lock_word (Results 1 – 12 of 12) sorted by relevance

/art/runtime/
Dmonitor.cc1034 void Monitor::InflateThinLocked(Thread* self, Handle<mirror::Object> obj, LockWord lock_word, in InflateThinLocked() argument
1036 DCHECK_EQ(lock_word.GetState(), LockWord::kThinLocked); in InflateThinLocked()
1037 uint32_t owner_thread_id = lock_word.ThinLockOwner(); in InflateThinLocked()
1055 lock_word = obj->GetLockWord(true); in InflateThinLocked()
1056 if (lock_word.GetState() == LockWord::kThinLocked && in InflateThinLocked()
1057 lock_word.ThinLockOwner() == owner_thread_id) { in InflateThinLocked()
1095 LockWord lock_word = h_obj->GetLockWord(false); in MonitorEnter() local
1096 switch (lock_word.GetState()) { in MonitorEnter()
1099 LockWord thin_locked(LockWord::FromThinLockId(thread_id, 0, lock_word.GCState())); in MonitorEnter()
1100 if (h_obj->CasLockWord(lock_word, thin_locked, CASMode::kWeak, std::memory_order_acquire)) { in MonitorEnter()
[all …]
Dmonitor.h125 static bool IsValidLockWord(LockWord lock_word);
149 static void InflateThinLocked(Thread* self, Handle<mirror::Object> obj, LockWord lock_word,
DAndroid.bp487 "lock_word.h",
/art/runtime/gc/collector/
Dsemi_space-inl.h31 LockWord lock_word = obj->GetLockWord(false); in GetForwardingAddressInFromSpace() local
32 if (lock_word.GetState() != LockWord::kForwardingAddress) { in GetForwardingAddressInFromSpace()
35 return reinterpret_cast<mirror::Object*>(lock_word.ForwardingAddress()); in GetForwardingAddressInFromSpace()
/art/tools/cpp-define-generator/
Dlockword.def18 #include "lock_word.h"
/art/dex2oat/linker/
Dimage_writer.cc950 LockWord lock_word = object->GetLockWord(false); in GetImageOffset() local
951 size_t offset = lock_word.ForwardingAddress(); in GetImageOffset()
1239 LockWord lock_word = object->GetLockWord(false); in IsImageBinSlotAssigned() local
1240 size_t offset = lock_word.ForwardingAddress(); in IsImageBinSlotAssigned()
1254 LockWord lock_word = object->GetLockWord(false); in GetImageBinSlot() local
1255 size_t offset = lock_word.ForwardingAddress(); // TODO: ForwardingAddress should be uint32_t in GetImageBinSlot()
/art/runtime/jni/
Djni_internal_test.cc2392 LockWord lock_word = soa.Decode<mirror::Object>(jobj)->GetLockWord(true); in IsLocked() local
2393 switch (lock_word.GetState()) { in IsLocked()
2400 return lock_word.FatLockMonitor()->IsLocked(); in IsLocked()
2402 LOG(FATAL) << "Invalid monitor state " << lock_word.GetState(); in IsLocked()
/art/compiler/optimizing/
Dcode_generator_arm64.cc6176 vixl::aarch64::MemOperand& lock_word, in EmitGrayCheckAndFastPath() argument
6180 __ Ldr(ip0.W(), lock_word); in EmitGrayCheckAndFastPath()
6244 MemOperand lock_word(holder_reg, mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk() local
6245 EmitGrayCheckAndFastPath(assembler, base_reg, lock_word, &slow_path, throw_npe); in CompileBakerReadBarrierThunk()
6274 MemOperand lock_word(base_reg, mirror::Object::MonitorOffset().Int32Value() - data_offset); in CompileBakerReadBarrierThunk() local
6275 DCHECK_LT(lock_word.GetOffset(), 0); in CompileBakerReadBarrierThunk()
6276 EmitGrayCheckAndFastPath(assembler, base_reg, lock_word, &slow_path); in CompileBakerReadBarrierThunk()
6302 MemOperand lock_word(root_reg.X(), mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk() local
6303 __ Ldr(ip0.W(), lock_word); in CompileBakerReadBarrierThunk()
Dcode_generator_arm_vixl.cc9310 vixl32::MemOperand& lock_word, in EmitGrayCheckAndFastPath() argument
9315 __ Ldr(ip, lock_word); in EmitGrayCheckAndFastPath()
9374 MemOperand lock_word(holder_reg, mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk() local
9379 assembler, base_reg, lock_word, &slow_path, raw_ldr_offset, throw_npe); in CompileBakerReadBarrierThunk()
9413 MemOperand lock_word(base_reg, mirror::Object::MonitorOffset().Int32Value() - data_offset); in CompileBakerReadBarrierThunk() local
9414 DCHECK_LT(lock_word.GetOffsetImmediate(), 0); in CompileBakerReadBarrierThunk()
9416 EmitGrayCheckAndFastPath(assembler, base_reg, lock_word, &slow_path, raw_ldr_offset); in CompileBakerReadBarrierThunk()
9445 MemOperand lock_word(root_reg, mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk() local
9446 __ Ldr(ip, lock_word); in CompileBakerReadBarrierThunk()
/art/runtime/arch/arm/
Dquick_entrypoints_arm.S699 @ (lock_word.ThreadId() ^ self->ThreadId()).
/art/runtime/arch/mips64/
Dquick_entrypoints_mips64.S1266 xor $t2, $t1, $t0 # lock_word.ThreadId() ^ self->ThreadId()
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S1320 xor $t2, $t1, $t0 # lock_word.ThreadId() ^ self->ThreadId()