Lines Matching refs:Monitor

89  * Monitor accessor.  Extracts a monitor structure pointer from a fat
93 (reinterpret_cast<Monitor*>((x) & ~((LW_HASH_STATE_MASK << LW_HASH_STATE_SHIFT) | LW_SHAPE_MASK)))
103 bool (*Monitor::is_sensitive_thread_hook_)() = NULL;
104 uint32_t Monitor::lock_profiling_threshold_ = 0;
106 bool Monitor::IsSensitiveThread() {
113 void Monitor::Init(uint32_t lock_profiling_threshold, bool (*is_sensitive_thread_hook)()) {
118 Monitor::Monitor(Thread* owner, mirror::Object* obj)
140 Monitor::~Monitor() {
149 void Monitor::AppendToWaitSet(Thread* thread) {
170 void Monitor::RemoveFromWaitSet(Thread *thread) {
193 mirror::Object* Monitor::GetObject() {
197 void Monitor::Lock(Thread* self) {
279 void Monitor::FailedUnlock(mirror::Object* o, Thread* expected_owner, Thread* found_owner,
280 Monitor* monitor) {
338 bool Monitor::Unlock(Thread* self, bool for_wait) {
391 void Monitor::Wait(Thread* self, int64_t ms, int32_t ns,
412 void Monitor::WaitWithLock(Thread* self, int64_t ms, int32_t ns,
529 void Monitor::Notify(Thread* self) {
540 void Monitor::NotifyWithLock(Thread* self) {
556 void Monitor::NotifyAll(Thread* self) {
567 void Monitor::NotifyAllWithLock() {
581 void Monitor::Inflate(Thread* self, mirror::Object* obj) {
588 Monitor* m = new Monitor(self, obj);
594 void Monitor::MonitorEnter(Thread* self, mirror::Object* obj) {
697 bool Monitor::MonitorExit(Thread* self, mirror::Object* obj) {
759 void Monitor::Wait(Thread* self, mirror::Object *obj, int64_t ms, int32_t ns,
783 void Monitor::Notify(Thread* self, mirror::Object *obj) {
804 void Monitor::NotifyAll(Thread* self, mirror::Object *obj) {
825 uint32_t Monitor::GetThinLockId(uint32_t raw_lock_word) {
834 void Monitor::DescribeWait(std::ostream& os, const Thread* thread) {
848 Monitor* monitor = thread->wait_monitor_;
875 mirror::Object* Monitor::GetContendedMonitor(Thread* thread) {
885 Monitor* monitor = thread->wait_monitor_;
893 void Monitor::VisitLocks(StackVisitor* stack_visitor, void (*callback)(mirror::Object*, void*),
955 bool Monitor::IsValidLockWord(int32_t lock_word) {
959 Monitor* mon = LW_MONITOR(lock_word);
963 for (Monitor* list_mon : list->list_) {
976 void Monitor::TranslateLocation(const mirror::ArtMethod* method, uint32_t dex_pc,
1014 void MonitorList::Add(Monitor* m) {
1026 Monitor* m = *it;
1048 Monitor* monitor = LW_MONITOR(lock_word);