Searched refs:lock_word (Results 1 – 8 of 8) sorted by relevance
/art/runtime/ |
D | monitor.cc | 812 void Monitor::InflateThinLocked(Thread* self, Handle<mirror::Object> obj, LockWord lock_word, in InflateThinLocked() argument 814 DCHECK_EQ(lock_word.GetState(), LockWord::kThinLocked); in InflateThinLocked() 815 uint32_t owner_thread_id = lock_word.ThinLockOwner(); in InflateThinLocked() 831 lock_word = obj->GetLockWord(true); in InflateThinLocked() 832 if (lock_word.GetState() == LockWord::kThinLocked && in InflateThinLocked() 833 lock_word.ThinLockOwner() == owner_thread_id) { in InflateThinLocked() 865 LockWord lock_word = h_obj->GetLockWord(true); in MonitorEnter() local 866 switch (lock_word.GetState()) { in MonitorEnter() 868 LockWord thin_locked(LockWord::FromThinLockId(thread_id, 0, lock_word.ReadBarrierState())); in MonitorEnter() 869 if (h_obj->CasLockWordWeakSequentiallyConsistent(lock_word, thin_locked)) { in MonitorEnter() [all …]
|
D | monitor.h | 107 static bool IsValidLockWord(LockWord lock_word); 133 static void InflateThinLocked(Thread* self, Handle<mirror::Object> obj, LockWord lock_word,
|
D | jni_internal_test.cc | 2216 LockWord lock_word = soa.Decode<mirror::Object*>(jobj)->GetLockWord(true); in IsLocked() local 2217 switch (lock_word.GetState()) { in IsLocked() 2224 return lock_word.FatLockMonitor()->IsLocked(); in IsLocked() 2226 LOG(FATAL) << "Invalid monitor state " << lock_word.GetState(); in IsLocked()
|
D | Android.mk | 367 lock_word.h \
|
/art/runtime/gc/collector/ |
D | semi_space-inl.h | 46 LockWord lock_word = obj->GetLockWord(false); in GetForwardingAddressInFromSpace() local 47 if (lock_word.GetState() != LockWord::kForwardingAddress) { in GetForwardingAddressInFromSpace() 50 return reinterpret_cast<mirror::Object*>(lock_word.ForwardingAddress()); in GetForwardingAddressInFromSpace()
|
D | mark_compact.cc | 75 LockWord lock_word = obj->GetLockWord(false); in ForwardObject() local 77 if (!LockWord::IsDefault(lock_word)) { in ForwardObject() 80 lock_words_to_restore_.push_back(lock_word); in ForwardObject() 526 LockWord lock_word = LockWord::Default(); in MoveObject() local 528 lock_word = lock_words_to_restore_.front(); in MoveObject() 531 dest_obj->SetLockWord(lock_word, false); in MoveObject()
|
/art/compiler/ |
D | image_writer.cc | 376 LockWord lock_word = object->GetLockWord(false); in GetImageOffset() local 377 size_t offset = lock_word.ForwardingAddress(); in GetImageOffset() 628 LockWord lock_word = object->GetLockWord(false); in IsImageBinSlotAssigned() local 629 size_t offset = lock_word.ForwardingAddress(); in IsImageBinSlotAssigned() 643 LockWord lock_word = object->GetLockWord(false); in GetImageBinSlot() local 644 size_t offset = lock_word.ForwardingAddress(); // TODO: ForwardingAddress should be uint32_t in GetImageBinSlot()
|
/art/runtime/arch/arm/ |
D | quick_entrypoints_arm.S | 604 eor r3, r3, r2 @ lock_word.ThreadId() ^ self->ThreadId()
|