Searched refs:SafeGetTid (Results 1 – 3 of 3) sorted by relevance
/art/runtime/base/ |
D | mutex-inl.h | 51 static inline pid_t SafeGetTid(const Thread* self) { in SafeGetTid() function 228 bool result = (GetExclusiveOwnerTid() == SafeGetTid(self)); in IsExclusiveHeld() 258 bool result = (GetExclusiveOwnerTid() == SafeGetTid(self)); in IsExclusiveHeld()
|
D | mutex.cc | 447 ScopedContentionRecorder scr(this, SafeGetTid(self), GetExclusiveOwnerTid()); in ExclusiveLock() 498 DCHECK_EQ(GetExclusiveOwnerTid(), 0) << " my tid = " << SafeGetTid(self) in ExclusiveLock() 500 exclusive_owner_.store(SafeGetTid(self), std::memory_order_relaxed); in ExclusiveLock() 591 exclusive_owner_.store(SafeGetTid(self), std::memory_order_relaxed); in ExclusiveTryLock() 628 exclusive_owner_.store(SafeGetTid(new_owner), std::memory_order_relaxed); in ExclusiveLockUncontendedFor() 774 ScopedContentionRecorder scr(this, SafeGetTid(self), GetExclusiveOwnerTid()); in ExclusiveLock() 797 exclusive_owner_.store(SafeGetTid(self), std::memory_order_relaxed); in ExclusiveLock() 853 ScopedContentionRecorder scr(this, SafeGetTid(self), GetExclusiveOwnerTid()); in ExclusiveLockWithTimeout() 887 exclusive_owner_.store(SafeGetTid(self), std::memory_order_relaxed); in ExclusiveLockWithTimeout() 897 ScopedContentionRecorder scr(this, SafeGetTid(self), GetExclusiveOwnerTid()); in HandleSharedLockContention() [all …]
|
/art/runtime/ |
D | monitor.cc | 239 DCHECK_EQ(monitor_lock_.GetExclusiveOwnerTid(), 0) << " my tid = " << SafeGetTid(self); in Install() 243 << " my tid = " << SafeGetTid(self); in Install() 259 DCHECK_EQ(monitor_lock_.GetExclusiveOwnerTid(), 0) << " my tid = " << SafeGetTid(self); in Install()
|