Home | History | Annotate | Download | only in runtime

Lines Matching defs:mon

48     Monitor* mon = new Monitor(self, owner, obj, hash_code);
49 DCHECK_ALIGNED(mon, LockWord::kMonitorIdAlignment);
50 return mon;
82 static MonitorId MonitorIdFromMonitor(Monitor* mon) {
84 return reinterpret_cast<MonitorId>(mon) >> LockWord::kMonitorIdAlignmentShift;
86 return mon->GetMonitorId();
90 static MonitorId ComputeMonitorId(Monitor* mon, Thread* self) {
93 return MonitorIdFromMonitor(mon);
95 return GetMonitorPool()->ComputeMonitorIdInPool(mon, self);
145 static bool IsInChunk(uintptr_t base_addr, Monitor* mon) {
146 uintptr_t mon_ptr = reinterpret_cast<uintptr_t>(mon);
150 MonitorId ComputeMonitorIdInPool(Monitor* mon, Thread* self) {
158 if (IsInChunk(chunk_addr, mon)) {
160 reinterpret_cast<uintptr_t>(mon) - chunk_addr