Home
last modified time | relevance | path

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

/art/runtime/
Dmonitor.cc812 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 …]
Dmonitor.h107 static bool IsValidLockWord(LockWord lock_word);
133 static void InflateThinLocked(Thread* self, Handle<mirror::Object> obj, LockWord lock_word,
Djni_internal_test.cc2216 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()
DAndroid.mk367 lock_word.h \
/art/runtime/gc/collector/
Dsemi_space-inl.h46 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()
Dmark_compact.cc75 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/
Dimage_writer.cc376 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/
Dquick_entrypoints_arm.S604 eor r3, r3, r2 @ lock_word.ThreadId() ^ self->ThreadId()