Searched refs:MonitorPool (Results 1 – 8 of 8) sorted by relevance
/art/runtime/ |
D | monitor_pool_test.cc | 41 EXPECT_EQ(MonitorPool::MonitorIdFromMonitor(mon), mon->GetMonitorId()); in VerifyMonitor() 43 EXPECT_EQ(MonitorPool::ComputeMonitorId(mon, self), mon->GetMonitorId()); in VerifyMonitor() 45 EXPECT_EQ(mon, MonitorPool::MonitorFromMonitorId(mon->GetMonitorId())); in VerifyMonitor() 74 Monitor* mon = MonitorPool::CreateMonitor(self, self, nullptr, static_cast<int32_t>(i)); in TEST_F() 87 MonitorPool::ReleaseMonitor(self, mon); in TEST_F() 97 Monitor* mon = MonitorPool::CreateMonitor(self, self, nullptr, in TEST_F() 116 MonitorPool::ReleaseMonitor(self, mon); in TEST_F() 123 MonitorPool::ReleaseMonitor(self, mon); in TEST_F()
|
D | monitor_pool.cc | 30 MonitorPool::MonitorPool() in MonitorPool() function in art::MonitorPool 41 void MonitorPool::AllocateChunk() { in AllocateChunk() 91 void MonitorPool::FreeInternal() { in FreeInternal() 108 Monitor* MonitorPool::CreateMonitorInPool(Thread* self, in CreateMonitorInPool() 134 void MonitorPool::ReleaseMonitorToPool(Thread* self, Monitor* monitor) { in ReleaseMonitorToPool() 153 void MonitorPool::ReleaseMonitorsToPool(Thread* self, MonitorList::Monitors* monitors) { in ReleaseMonitorsToPool()
|
D | monitor_pool.h | 35 class MonitorPool { 37 static MonitorPool* Create() { in Create() 41 return new MonitorPool(); in Create() 102 static MonitorPool* GetMonitorPool() { in GetMonitorPool() 110 ~MonitorPool() { in ~MonitorPool() 120 MonitorPool() NO_THREAD_SAFETY_ANALYSIS;
|
D | lock_word-inl.h | 41 return MonitorPool::MonitorFromMonitorId(mon_id); in FatLockMonitor()
|
D | runtime.h | 98 class MonitorPool; variable 328 MonitorPool* GetMonitorPool() const { in GetMonitorPool() 1093 MonitorPool* monitor_pool_;
|
D | monitor.cc | 107 monitor_id_(MonitorPool::ComputeMonitorId(this, self)) { in Monitor() 1033 Monitor* m = MonitorPool::CreateMonitor(self, owner, obj, hash_code); in Inflate() 1046 MonitorPool::ReleaseMonitor(self, m); in Inflate() 1609 MonitorPool::ReleaseMonitors(self, &list_); in ~MonitorList() 1659 MonitorPool::ReleaseMonitor(self, m); in SweepMonitorList()
|
D | monitor.h | 426 friend class MonitorPool; variable
|
D | runtime.cc | 1312 monitor_pool_ = MonitorPool::Create(); in Init()
|