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()
Dmonitor.cc111 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()
Druntime.h101 class MonitorPool; variable
337 MonitorPool* GetMonitorPool() const { in GetMonitorPool()
1160 MonitorPool* monitor_pool_;
Dmonitor.h434 friend class MonitorPool; variable
Druntime.cc1482 monitor_pool_ = MonitorPool::Create(); in Init()