Lines Matching refs:owner

92 Monitor::Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code)  in Monitor()  argument
96 owner_(owner), in Monitor()
111 CHECK(owner == nullptr || owner == self || owner->IsSuspended()); in Monitor()
116 Thread* owner, in Monitor() argument
123 owner_(owner), in Monitor()
137 CHECK(owner == nullptr || owner == self || owner->IsSuspended()); in Monitor()
706 Thread* owner = owner_; in Unlock() local
707 if (owner != nullptr) { in Unlock()
708 owner_thread_id = owner->GetThreadId(); in Unlock()
710 if (owner == self) { in Unlock()
976 Thread* owner = monitor->owner_; in Deflate() local
977 if (owner != nullptr) { in Deflate()
987 LockWord new_lw = LockWord::FromThinLockId(owner->GetThreadId(), in Deflate()
992 VLOG(monitor) << "Deflated " << obj << " to thin lock " << owner->GetTid() << " / " in Deflate()
1013 void Monitor::Inflate(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code) { in Inflate() argument
1017 Monitor* m = MonitorPool::CreateMonitor(self, owner, obj, hash_code); in Inflate()
1020 if (owner != nullptr) { in Inflate()
1021 VLOG(monitor) << "monitor: thread" << owner->GetThreadId() in Inflate()
1046 Thread* owner; in InflateThinLocked() local
1049 owner = thread_list->SuspendThreadByThreadId(owner_thread_id, in InflateThinLocked()
1053 if (owner != nullptr) { in InflateThinLocked()
1059 Inflate(self, owner, obj.Get(), hash_code); in InflateThinLocked()
1061 bool resumed = thread_list->Resume(owner, SuspendReason::kInternal); in InflateThinLocked()
1554 Thread* owner = owner_; in GetOwnerThreadId() local
1555 if (owner != nullptr) { in GetOwnerThreadId()
1556 return owner->GetThreadId(); in GetOwnerThreadId()