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 | monitor.cc | 111 monitor_id_(MonitorPool::ComputeMonitorId(this, self)) { in Monitor() 1037 Monitor* m = MonitorPool::CreateMonitor(self, owner, obj, hash_code); in Inflate() 1050 MonitorPool::ReleaseMonitor(self, m); in Inflate() 1609 MonitorPool::ReleaseMonitors(self, &list_); in ~MonitorList() 1659 MonitorPool::ReleaseMonitor(self, m); in SweepMonitorList()
|
D | runtime.h | 101 class MonitorPool; variable 337 MonitorPool* GetMonitorPool() const { in GetMonitorPool() 1160 MonitorPool* monitor_pool_;
|
D | monitor.h | 434 friend class MonitorPool; variable
|
D | runtime.cc | 1482 monitor_pool_ = MonitorPool::Create(); in Init()
|