Lines Matching refs:LockWord
66 class LockWord {
139 static LockWord FromThinLockId(uint32_t thread_id, uint32_t count, uint32_t gc_state) { in FromThinLockId()
143 return LockWord((thread_id << kThinLockOwnerShift) | in FromThinLockId()
149 static LockWord FromForwardingAddress(size_t target) { in FromForwardingAddress()
151 return LockWord((target >> kForwardingAddressShift) | kStateForwardingAddressShifted); in FromForwardingAddress()
154 static LockWord FromHashCode(uint32_t hash_code, uint32_t gc_state) { in FromHashCode()
157 return LockWord((hash_code << kHashShift) | in FromHashCode()
162 static LockWord FromDefault(uint32_t gc_state) { in FromDefault()
163 return LockWord(gc_state << kGCStateShift); in FromDefault()
166 static bool IsDefault(LockWord lw) { in IsDefault()
167 return LockWord().GetValue() == lw.GetValue(); in IsDefault()
170 static LockWord Default() { in Default()
171 return LockWord(); in Default()
247 LockWord(Monitor* mon, uint32_t gc_state);
253 static bool Equal(LockWord lw1, LockWord lw2) { in Equal()
266 LockWord();
268 explicit LockWord(uint32_t val) : value_(val) { in LockWord() function
283 bool operator==(const LockWord& rhs) = delete;
316 std::ostream& operator<<(std::ostream& os, const LockWord::LockState& code);