Searched refs:monitor (Results 1 - 9 of 9) sorted by relevance

/art/runtime/
H A Dmonitor_pool.cc22 #include "monitor.h"
55 VLOG(monitor) << "Resizing to capacity " << capacity_;
99 VLOG(monitor) << "Allocating a new chunk.";
110 Monitor* monitor = new(mon_uninitialized) Monitor(self, owner, obj, hash_code, id); local
112 return monitor;
115 void MonitorPool::ReleaseMonitorToPool(Thread* self, Monitor* monitor) { argument
119 // Keep the monitor id. Don't trust it's not cleared.
120 MonitorId id = monitor->monitor_id_;
124 monitor->~Monitor();
127 monitor
[all...]
H A Dmonitor.cc17 #include "monitor.h"
42 * Every Object has a monitor associated with it, but not every Object is actually locked. Even
43 * the ones that are locked do not need a full-fledged monitor until a) there is actual contention
63 * Only one thread can own the monitor at any time. There may be several threads waiting on it
84 : monitor_lock_("a monitor lock", kMonitorLock),
85 monitor_contenders_("monitor contenders", monitor_lock_),
102 // The identity hash code is set for the life time of the monitor.
107 : monitor_lock_("a monitor lock", kMonitorLock),
108 monitor_contenders_("monitor contenders", monitor_lock_),
124 // The identity hash code is set for the life time of the monitor
323 FailedUnlock(mirror::Object* o, Thread* expected_owner, Thread* found_owner, Monitor* monitor) argument
617 Monitor* monitor = lw.FatLockMonitor(); local
938 Monitor* monitor = thread->GetWaitMonitor(); local
982 Monitor* monitor = thread->GetWaitMonitor(); local
[all...]
H A Dmonitor_pool.h20 #include "monitor.h"
34 // monitor id loses the alignment bits of the Monitor*.
54 static void ReleaseMonitor(Thread* self, Monitor* monitor) { argument
56 delete monitor;
58 GetMonitorPool()->ReleaseMonitorToPool(self, monitor);
104 // When we create a monitor pool, threads have not been initialized, yet, so ignore thread-safety
113 void ReleaseMonitorToPool(Thread* self, Monitor* monitor);
139 LOG(FATAL) << "Did not find chunk that contains monitor.";
151 // TODO: There are assumptions in the code that monitor addresses are 8B aligned (>>3).
153 // Size of a monitor, rounde
[all...]
H A Dparsed_options_test.cc77 EXPECT_FALSE(VLOG_IS_ON(monitor));
H A DAndroid.mk105 monitor.cc \
H A Dparsed_options.cc26 #include "monitor.h"
261 // gLogVerbosity.monitor = true; // TODO: don't check this in!
491 } else if (verbose_options[i] == "monitor") {
492 gLogVerbosity.monitor = true;
/art/runtime/mirror/
H A Dobject.cc31 #include "monitor.h"
165 // Inflate the thin lock to a monitor and stick the hash code inside of the monitor. May
176 // Already inflated, return the has stored in the monitor.
177 Monitor* monitor = lw.FatLockMonitor(); local
178 DCHECK(monitor != nullptr);
179 return monitor->GetHashCode();
/art/runtime/verifier/
H A Dregister_line.cc51 // Clear the monitor entry bits for this register.
67 // Clear the monitor entry bits for this register.
210 for (const auto& monitor : monitors_) {
211 result += StringPrintf("{%d},", monitor);
418 verifier_->Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "monitor-enter on non-object (" << reg_type << ")";
420 verifier_->Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "monitor-enter stack overflow: " << monitors_.size();
430 verifier_->Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "monitor-exit on non-object (" << reg_type << ")";
432 verifier_->Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "monitor-exit stack underflow";
441 << "monitor-exit not unlocking the top of the monitor stac
[all...]
/art/runtime/base/
H A Dlogging.h309 bool monitor; member in struct:art::LogVerbosity

Completed in 3020 milliseconds