/art/runtime/ |
D | monitor.cc | 978 void Monitor::InflateThinLocked(Thread* self, Handle<mirror::Object> obj, LockWord lock_word, in InflateThinLocked() argument 980 DCHECK_EQ(lock_word.GetState(), LockWord::kThinLocked); in InflateThinLocked() 981 uint32_t owner_thread_id = lock_word.ThinLockOwner(); in InflateThinLocked() 999 lock_word = obj->GetLockWord(true); in InflateThinLocked() 1000 if (lock_word.GetState() == LockWord::kThinLocked && in InflateThinLocked() 1001 lock_word.ThinLockOwner() == owner_thread_id) { in InflateThinLocked() 1037 LockWord lock_word = h_obj->GetLockWord(false); in MonitorEnter() local 1038 switch (lock_word.GetState()) { in MonitorEnter() 1041 LockWord thin_locked(LockWord::FromThinLockId(thread_id, 0, lock_word.GCState())); in MonitorEnter() 1042 if (h_obj->CasLockWordWeakAcquire(lock_word, thin_locked)) { in MonitorEnter() [all …]
|
D | monitor.h | 115 static bool IsValidLockWord(LockWord lock_word); 141 static void InflateThinLocked(Thread* self, Handle<mirror::Object> obj, LockWord lock_word,
|
D | jni_internal_test.cc | 2393 LockWord lock_word = soa.Decode<mirror::Object>(jobj)->GetLockWord(true); in IsLocked() local 2394 switch (lock_word.GetState()) { in IsLocked() 2401 return lock_word.FatLockMonitor()->IsLocked(); in IsLocked() 2403 LOG(FATAL) << "Invalid monitor state " << lock_word.GetState(); in IsLocked()
|
D | Android.bp | 448 "lock_word.h",
|
/art/runtime/gc/collector/ |
D | semi_space-inl.h | 31 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()
|
D | mark_compact.cc | 83 LockWord lock_word = obj->GetLockWord(false); in ForwardObject() local 85 if (!LockWord::IsDefault(lock_word)) { in ForwardObject() 88 lock_words_to_restore_.push_back(lock_word); in ForwardObject() 512 LockWord lock_word = LockWord::Default(); in MoveObject() local 514 lock_word = lock_words_to_restore_.front(); in MoveObject() 517 dest_obj->SetLockWord(lock_word, false); in MoveObject()
|
/art/compiler/linker/arm/ |
D | relative_patcher_thumb2.cc | 185 vixl::aarch32::MemOperand& lock_word, in EmitGrayCheckAndFastPath() argument 190 __ Ldr(ip, lock_word); in EmitGrayCheckAndFastPath() 248 MemOperand lock_word(holder_reg, mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk() local 252 EmitGrayCheckAndFastPath(assembler, base_reg, lock_word, &slow_path, raw_ldr_offset); in CompileBakerReadBarrierThunk() 293 MemOperand lock_word(base_reg, mirror::Object::MonitorOffset().Int32Value() - data_offset); in CompileBakerReadBarrierThunk() local 294 DCHECK_LT(lock_word.GetOffsetImmediate(), 0); in CompileBakerReadBarrierThunk() 296 EmitGrayCheckAndFastPath(assembler, base_reg, lock_word, &slow_path, raw_ldr_offset); in CompileBakerReadBarrierThunk() 324 MemOperand lock_word(root_reg, mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk() local 325 __ Ldr(ip, lock_word); in CompileBakerReadBarrierThunk()
|
/art/compiler/linker/arm64/ |
D | relative_patcher_arm64.cc | 368 vixl::aarch64::MemOperand& lock_word, in EmitGrayCheckAndFastPath() argument 372 __ Ldr(ip0.W(), lock_word); in EmitGrayCheckAndFastPath() 434 MemOperand lock_word(holder_reg, mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk() local 435 EmitGrayCheckAndFastPath(assembler, base_reg, lock_word, &slow_path); in CompileBakerReadBarrierThunk() 463 MemOperand lock_word(base_reg, mirror::Object::MonitorOffset().Int32Value() - data_offset); in CompileBakerReadBarrierThunk() local 464 DCHECK_LT(lock_word.GetOffset(), 0); in CompileBakerReadBarrierThunk() 465 EmitGrayCheckAndFastPath(assembler, base_reg, lock_word, &slow_path); in CompileBakerReadBarrierThunk() 490 MemOperand lock_word(root_reg.X(), mirror::Object::MonitorOffset().Int32Value()); in CompileBakerReadBarrierThunk() local 491 __ Ldr(ip0.W(), lock_word); in CompileBakerReadBarrierThunk()
|
/art/tools/cpp-define-generator/ |
D | constant_lockword.def | 20 #include "lock_word.h" // art::LockWord
|
/art/dex2oat/linker/ |
D | image_writer.cc | 385 LockWord lock_word = object->GetLockWord(false); in GetImageOffset() local 386 size_t offset = lock_word.ForwardingAddress(); in GetImageOffset() 664 LockWord lock_word = object->GetLockWord(false); in IsImageBinSlotAssigned() local 665 size_t offset = lock_word.ForwardingAddress(); in IsImageBinSlotAssigned() 679 LockWord lock_word = object->GetLockWord(false); in GetImageBinSlot() local 680 size_t offset = lock_word.ForwardingAddress(); // TODO: ForwardingAddress should be uint32_t in GetImageBinSlot()
|
/art/runtime/arch/arm/ |
D | quick_entrypoints_arm.S | 754 eor r3, r3, r2 @ lock_word.ThreadId() ^ self->ThreadId()
|
/art/runtime/arch/mips64/ |
D | quick_entrypoints_mips64.S | 1266 xor $t2, $t1, $t0 # lock_word.ThreadId() ^ self->ThreadId()
|
/art/runtime/arch/mips/ |
D | quick_entrypoints_mips.S | 1320 xor $t2, $t1, $t0 # lock_word.ThreadId() ^ self->ThreadId()
|