• Home
  • Raw
  • Download

Lines Matching refs:LockWord

141   LockWord lw(GetObject()->GetLockWord(false));  in Install()
143 case LockWord::kThinLocked: { in Install()
148 case LockWord::kHashCode: { in Install()
152 case LockWord::kFatLocked: { in Install()
156 case LockWord::kUnlocked: { in Install()
165 LockWord fat(this); in Install()
614 LockWord lw(obj->GetLockWord(false)); in Deflate()
616 if (lw.GetState() == LockWord::kFatLocked) { in Deflate()
631 if (monitor->lock_count_ > LockWord::kThinLockMaxCount) { in Deflate()
635 obj->SetLockWord(LockWord::FromThinLockId(owner->GetThreadId(), monitor->lock_count_), false); in Deflate()
639 obj->SetLockWord(LockWord::FromHashCode(monitor->GetHashCode()), false); in Deflate()
643 obj->SetLockWord(LockWord(), false); in Deflate()
668 CHECK_EQ(obj->GetLockWord(true).GetState(), LockWord::kFatLocked); in Inflate()
674 void Monitor::InflateThinLocked(Thread* self, Handle<mirror::Object> obj, LockWord lock_word, in InflateThinLocked()
676 DCHECK_EQ(lock_word.GetState(), LockWord::kThinLocked); in InflateThinLocked()
696 if (lock_word.GetState() == LockWord::kThinLocked && in InflateThinLocked()
728 LockWord lock_word = h_obj->GetLockWord(true); in MonitorEnter()
730 case LockWord::kUnlocked: { in MonitorEnter()
731 LockWord thin_locked(LockWord::FromThinLockId(thread_id, 0)); in MonitorEnter()
738 case LockWord::kThinLocked: { in MonitorEnter()
743 if (LIKELY(new_count <= LockWord::kThinLockMaxCount)) { in MonitorEnter()
744 LockWord thin_locked(LockWord::FromThinLockId(thread_id, new_count)); in MonitorEnter()
768 case LockWord::kFatLocked: { in MonitorEnter()
773 case LockWord::kHashCode: in MonitorEnter()
789 LockWord lock_word = obj->GetLockWord(true); in MonitorExit()
793 case LockWord::kHashCode: in MonitorExit()
795 case LockWord::kUnlocked: in MonitorExit()
798 case LockWord::kThinLocked: { in MonitorExit()
811 LockWord thin_locked(LockWord::FromThinLockId(thread_id, new_count)); in MonitorExit()
814 h_obj->SetLockWord(LockWord(), true); in MonitorExit()
819 case LockWord::kFatLocked: { in MonitorExit()
837 LockWord lock_word = obj->GetLockWord(true); in Wait()
838 while (lock_word.GetState() != LockWord::kFatLocked) { in Wait()
840 case LockWord::kHashCode: in Wait()
842 case LockWord::kUnlocked: in Wait()
845 case LockWord::kThinLocked: { in Wait()
859 case LockWord::kFatLocked: // Unreachable given the loop condition above. Fall-through. in Wait()
873 LockWord lock_word = obj->GetLockWord(true); in DoNotify()
875 case LockWord::kHashCode: in DoNotify()
877 case LockWord::kUnlocked: in DoNotify()
880 case LockWord::kThinLocked: { in DoNotify()
891 case LockWord::kFatLocked: { in DoNotify()
909 LockWord lock_word = obj->GetLockWord(true); in GetLockOwnerThreadId()
911 case LockWord::kHashCode: in GetLockOwnerThreadId()
913 case LockWord::kUnlocked: in GetLockOwnerThreadId()
915 case LockWord::kThinLocked: in GetLockOwnerThreadId()
917 case LockWord::kFatLocked: { in GetLockOwnerThreadId()
954 if ((pretty_object->GetLockWord(true).GetState() == LockWord::kThinLocked) && in DescribeWait()
1054 bool Monitor::IsValidLockWord(LockWord lock_word) { in IsValidLockWord()
1056 case LockWord::kUnlocked: in IsValidLockWord()
1059 case LockWord::kThinLocked: in IsValidLockWord()
1062 case LockWord::kFatLocked: { in IsValidLockWord()
1074 case LockWord::kHashCode: in IsValidLockWord()
1178 DCHECK_NE(object->GetLockWord(true).GetState(), LockWord::kFatLocked); in MonitorDeflateCallback()
1195 LockWord lock_word = obj->GetLockWord(true); in MonitorInfo()
1197 case LockWord::kUnlocked: in MonitorInfo()
1199 case LockWord::kForwardingAddress: in MonitorInfo()
1201 case LockWord::kHashCode: in MonitorInfo()
1203 case LockWord::kThinLocked: in MonitorInfo()
1208 case LockWord::kFatLocked: { in MonitorInfo()