Home
last modified time | relevance | path

Searched refs:MonitorPool (Results 1 – 8 of 8) sorted by relevance

/art/runtime/
Dmonitor_pool_test.cc41 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()
Dmonitor_pool.cc30 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()
Dmonitor_pool.h35 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;
Dlock_word-inl.h41 return MonitorPool::MonitorFromMonitorId(mon_id); in FatLockMonitor()
Druntime.h94 class MonitorPool; variable
308 MonitorPool* GetMonitorPool() const { in GetMonitorPool()
990 MonitorPool* monitor_pool_;
Dmonitor.cc104 monitor_id_(MonitorPool::ComputeMonitorId(this, self)) { in Monitor()
1017 Monitor* m = MonitorPool::CreateMonitor(self, owner, obj, hash_code); in Inflate()
1030 MonitorPool::ReleaseMonitor(self, m); in Inflate()
1573 MonitorPool::ReleaseMonitors(self, &list_); in ~MonitorList()
1623 MonitorPool::ReleaseMonitor(self, m); in SweepMonitorList()
Dmonitor.h341 friend class MonitorPool; variable
Druntime.cc1244 monitor_pool_ = MonitorPool::Create(); in Init()