Searched refs:Monitor (Results 1 - 14 of 14) sorted by relevance

/art/runtime/
H A Dmonitor_linux.cc21 void Monitor::LogContentionEvent(Thread*, uint32_t, uint32_t, const char*, uint32_t) {
H A Dmonitor.cc89 * 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) function in class:art::Monitor
140 Monitor::~Monitor() {
[all...]
H A Dmonitor.h34 * Monitor shape field. Used to distinguish thin locks from fat locks.
65 class Monitor { class in namespace:art
67 ~Monitor();
108 explicit Monitor(Thread* owner, mirror::Object* obj)
121 static void FailedUnlock(mirror::Object* obj, Thread* expected_owner, Thread* found_owner, Monitor* mon)
176 DISALLOW_COPY_AND_ASSIGN(Monitor);
184 void Add(Monitor* m);
193 std::list<Monitor*> list_ GUARDED_BY(monitor_list_lock_);
195 friend class Monitor;
H A Dmonitor_android.cc52 void Monitor::LogContentionEvent(Thread* self, uint32_t wait_ms, uint32_t sample_percent,
69 cp = EventLogWriteInt(cp, Monitor::IsSensitiveThread());
H A Dthread.h68 class Monitor;
739 Monitor* wait_monitor_ GUARDED_BY(wait_mutex_);
747 friend class Monitor;
H A Dobject_utils.h50 Monitor::Wait(self_, obj_, 0, 0, false, kWaiting);
H A Dthread.cc826 Monitor::DescribeWait(os, thread);
829 Monitor::VisitLocks(this, DumpLockedObject, &os);
H A Druntime.cc841 Monitor::Init(options->lock_profiling_threshold_, options->hook_is_sensitive_thread_);
H A Ddebugger.cc714 Monitor::VisitLocks(this, AppendOwnedMonitors, this);
755 contended_monitor = gRegistry->Add(Monitor::GetContendedMonitor(thread));
/art/test/003-omnibus-opcodes/src/
H A DMonitor.java21 public class Monitor { class
35 System.out.println("Monitor.run");
53 new Monitor().subTest();
H A DMain.java44 Monitor.run();
/art/runtime/mirror/
H A Dobject-inl.h47 return Monitor::GetThinLockId(monitor_);
51 Monitor::MonitorEnter(self, this);
55 return Monitor::MonitorExit(self, this);
59 Monitor::Notify(self, this);
63 Monitor::NotifyAll(self, this);
67 Monitor::Wait(self, this, 0, 0, true, kWaiting);
71 Monitor::Wait(self, this, ms, ns, true, kTimedWaiting);
/art/compiler/
H A Dimage_test.cc161 EXPECT_TRUE(Monitor::IsValidLockWord(*klass->GetRawLockWordAddress()));
/art/runtime/native/
H A Djava_lang_Thread.cc155 Monitor::Wait(Thread::Current(), lock, ms, ns, true, kSleeping);

Completed in 166 milliseconds