Lines Matching refs:LockWord
53 class LockWord {
85 static LockWord FromThinLockId(uint32_t thread_id, uint32_t count) { in FromThinLockId()
87 return LockWord((thread_id << kThinLockOwnerShift) | (count << kThinLockCountShift) | in FromThinLockId()
91 static LockWord FromForwardingAddress(size_t target) { in FromForwardingAddress()
93 return LockWord((target >> kStateSize) | (kStateForwardingAddress << kStateShift)); in FromForwardingAddress()
96 static LockWord FromHashCode(uint32_t hash_code) { in FromHashCode()
98 return LockWord((hash_code << kHashShift) | (kStateHash << kStateShift)); in FromHashCode()
141 LockWord();
144 explicit LockWord(Monitor* mon);
146 bool operator==(const LockWord& rhs) const {
158 explicit LockWord(uint32_t val) : value_(val) {} in LockWord() function
166 std::ostream& operator<<(std::ostream& os, const LockWord::LockState& code);