Lines Matching refs:art
62 static bool Destroy(art::Thread* self, JvmtiMonitor* monitor) NO_THREAD_SAFETY_ANALYSIS { in Destroy()
64 art::Thread* owner_thread = monitor->owner_.load(std::memory_order_relaxed); in Destroy()
79 void MonitorEnter(art::Thread* self, bool suspend) NO_THREAD_SAFETY_ANALYSIS { in MonitorEnter()
124 bool MonitorExit(art::Thread* self) NO_THREAD_SAFETY_ANALYSIS { in MonitorExit()
138 bool Wait(art::Thread* self) { in Wait()
145 bool Wait(art::Thread* self, uint64_t timeout_in_ms) { in Wait()
152 bool Notify(art::Thread* self) { in Notify()
156 bool NotifyAll(art::Thread* self) { in NotifyAll()
161 bool IsOwner(art::Thread* self) const { in IsOwner()
165 art::Thread* owner_thread = owner_.load(std::memory_order_relaxed); in IsOwner()
170 bool Wait(art::Thread* self, T how_to_wait) { in Wait()
204 bool Notify(art::Thread* self, T how_to_notify) { in Notify()
216 std::atomic<art::Thread*> owner_;
247 art::Thread* self = art::Thread::Current(); in DestroyRawMonitor()
262 art::Thread* self = art::Thread::Current(); in RawMonitorEnterNoSuspend()
275 art::Thread* self = art::Thread::Current(); in RawMonitorEnter()
288 art::Thread* self = art::Thread::Current(); in RawMonitorExit()
305 art::Thread* self = art::Thread::Current(); in RawMonitorWait()
331 art::Thread* self = art::Thread::Current(); in RawMonitorNotify()
346 art::Thread* self = art::Thread::Current(); in RawMonitorNotifyAll()
361 art::Thread* self = art::Thread::Current(); in GetCurrentContendedMonitor()
362 art::ScopedObjectAccess soa(self); in GetCurrentContendedMonitor()
363 art::Locks::thread_list_lock_->ExclusiveLock(self); in GetCurrentContendedMonitor()
364 art::Thread* target = nullptr; in GetCurrentContendedMonitor()
367 art::Locks::thread_list_lock_->ExclusiveUnlock(self); in GetCurrentContendedMonitor()
370 struct GetContendedMonitorClosure : public art::Closure { in GetCurrentContendedMonitor()
374 void Run(art::Thread* target_thread) override REQUIRES_SHARED(art::Locks::mutator_lock_) { in GetCurrentContendedMonitor()
375 art::ScopedAssertNoThreadSuspension sants("GetContendedMonitorClosure::Run"); in GetCurrentContendedMonitor()
379 case art::kBlocked: in GetCurrentContendedMonitor()
380 case art::kTimedWaiting: in GetCurrentContendedMonitor()
381 case art::kWaiting: { in GetCurrentContendedMonitor()
382 out_ = art::GcRoot<art::mirror::Object>(art::Monitor::GetContendedMonitor(target_thread)); in GetCurrentContendedMonitor()
385 case art::kTerminated: in GetCurrentContendedMonitor()
386 case art::kRunnable: in GetCurrentContendedMonitor()
387 case art::kSleeping: in GetCurrentContendedMonitor()
388 case art::kWaitingForLockInflation: in GetCurrentContendedMonitor()
389 case art::kWaitingForTaskProcessor: in GetCurrentContendedMonitor()
390 case art::kWaitingForGcToComplete: in GetCurrentContendedMonitor()
391 case art::kWaitingForCheckPointsToRun: in GetCurrentContendedMonitor()
392 case art::kWaitingPerformingGc: in GetCurrentContendedMonitor()
393 case art::kWaitingForDebuggerSend: in GetCurrentContendedMonitor()
394 case art::kWaitingForDebuggerToAttach: in GetCurrentContendedMonitor()
395 case art::kWaitingInMainDebuggerLoop: in GetCurrentContendedMonitor()
396 case art::kWaitingForDebuggerSuspension: in GetCurrentContendedMonitor()
397 case art::kWaitingForJniOnLoad: in GetCurrentContendedMonitor()
398 case art::kWaitingForSignalCatcherOutput: in GetCurrentContendedMonitor()
399 case art::kWaitingInMainSignalCatcherLoop: in GetCurrentContendedMonitor()
400 case art::kWaitingForDeoptimization: in GetCurrentContendedMonitor()
401 case art::kWaitingForMethodTracingStart: in GetCurrentContendedMonitor()
402 case art::kWaitingForVisitObjects: in GetCurrentContendedMonitor()
403 case art::kWaitingForGetObjectsAllocated: in GetCurrentContendedMonitor()
404 case art::kWaitingWeakGcRootRead: in GetCurrentContendedMonitor()
405 case art::kWaitingForGcThreadFlip: in GetCurrentContendedMonitor()
406 case art::kNativeForAbort: in GetCurrentContendedMonitor()
407 case art::kStarting: in GetCurrentContendedMonitor()
408 case art::kNative: in GetCurrentContendedMonitor()
409 case art::kSuspended: { in GetCurrentContendedMonitor()
416 jobject GetResult() REQUIRES_SHARED(art::Locks::mutator_lock_) { in GetCurrentContendedMonitor()
419 : art::Thread::Current()->GetJniEnv()->AddLocalReference<jobject>(out_.Read()); in GetCurrentContendedMonitor()
423 art::GcRoot<art::mirror::Object> out_; in GetCurrentContendedMonitor()
425 art::ScopedAssertNoThreadSuspension sants("Performing GetCurrentContendedMonitor"); in GetCurrentContendedMonitor()
430 if (!target->RequestSynchronousCheckpoint(&closure, art::ThreadState::kRunnable)) { in GetCurrentContendedMonitor()