Searched refs:monitors (Results 1 – 9 of 9) sorted by relevance
/art/runtime/ |
D | monitor_pool_test.cc | 49 std::vector<Monitor*> monitors; in TEST_F() local 64 if (monitors.size() == 0) { in TEST_F() 66 } else if (monitors.size() == kMaxUsage) { in TEST_F() 75 monitors.push_back(mon); in TEST_F() 80 size_t index = r.next() % monitors.size(); in TEST_F() 81 Monitor* mon = monitors[index]; in TEST_F() 82 monitors.erase(monitors.begin() + index); in TEST_F() 95 size_t target_size = monitors.size() + 2*kMaxUsage; in TEST_F() 96 while (monitors.size() < target_size) { in TEST_F() 98 static_cast<int32_t>(-monitors.size())); in TEST_F() [all …]
|
D | monitor_pool.h | 62 static void ReleaseMonitors(Thread* self, MonitorList::Monitors* monitors) { in ReleaseMonitors() argument 64 STLDeleteElements(monitors); in ReleaseMonitors() 66 GetMonitorPool()->ReleaseMonitorsToPool(self, monitors); in ReleaseMonitors() 114 void ReleaseMonitorsToPool(Thread* self, MonitorList::Monitors* monitors);
|
D | monitor_pool.cc | 134 void MonitorPool::ReleaseMonitorsToPool(Thread* self, MonitorList::Monitors* monitors) { in ReleaseMonitorsToPool() argument 135 for (Monitor* mon : *monitors) { in ReleaseMonitorsToPool()
|
D | jni_internal.h | 188 ReferenceTable monitors; member
|
D | debugger.h | 327 std::vector<JDWP::ObjectId>& monitors,
|
D | debugger.cc | 938 std::vector<JDWP::ObjectId>& monitors, in GetOwnedMonitors() argument 946 monitors(monitor_vector), stack_depths(stack_depth_vector) {} in GetOwnedMonitors() 961 visitor->monitors->push_back(gRegistry->Add(owned_monitor)); in GetOwnedMonitors() 966 std::vector<JDWP::ObjectId>* monitors; in GetOwnedMonitors() member 983 OwnedMonitorVisitor visitor(thread, context.get(), &monitors, &stack_depths); in GetOwnedMonitors()
|
D | jni_internal.cc | 2469 soa.Env()->monitors.Add(o); in MonitorEnter() 2481 soa.Env()->monitors.Remove(o); in MonitorExit() 2962 monitors("monitors", kMonitorsInitial, kMonitorsMax) { in JNIEnvExt() 2991 monitors.Dump(os); in DumpReferenceTables()
|
D | thread.cc | 1167 tlsPtr_.jni_env->monitors.VisitRoots(MonitorExitVisitor, self, 0, kRootVMInternal); in Destroy() 2169 tlsPtr_.jni_env->monitors.VisitRoots(visitor, arg, thread_id, kRootJNIMonitor); in VisitRoots()
|
/art/runtime/jdwp/ |
D | jdwp_handler.cc | 1085 std::vector<ObjectId> monitors; in TR_OwnedMonitors() local 1087 JdwpError rc = Dbg::GetOwnedMonitors(thread_id, monitors, stack_depths); in TR_OwnedMonitors() 1092 expandBufAdd4BE(reply, monitors.size()); in TR_OwnedMonitors() 1093 for (size_t i = 0; i < monitors.size(); ++i) { in TR_OwnedMonitors() 1094 rc = WriteTaggedObject(reply, monitors[i]); in TR_OwnedMonitors()
|