Searched refs:monitors (Results 1 – 10 of 10) 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 | 65 static void ReleaseMonitors(Thread* self, MonitorList::Monitors* monitors) { in ReleaseMonitors() argument 68 STLDeleteElements(monitors); in ReleaseMonitors() 70 GetMonitorPool()->ReleaseMonitorsToPool(self, monitors); in ReleaseMonitors() 119 void ReleaseMonitorsToPool(Thread* self, MonitorList::Monitors* monitors);
|
D | jni_env_ext.cc | 56 monitors("monitors", kMonitorsInitial, kMonitorsMax) { in JNIEnvExt() 86 monitors.Dump(os); in DumpReferenceTables()
|
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_env_ext.h | 87 ReferenceTable monitors; member
|
D | debugger.h | 353 std::vector<JDWP::ObjectId>* monitors,
|
D | debugger.cc | 883 std::vector<JDWP::ObjectId>* monitors, in GetOwnedMonitors() argument 892 monitors(monitor_vector), in GetOwnedMonitors() 908 visitor->monitors->push_back(gRegistry->Add(owned_monitor)); in GetOwnedMonitors() 913 std::vector<JDWP::ObjectId>* const monitors; in GetOwnedMonitors() member 927 OwnedMonitorVisitor visitor(thread, context.get(), monitors, stack_depths); in GetOwnedMonitors()
|
D | thread.cc | 1363 tlsPtr_.jni_env->monitors.VisitRoots(&visitor, RootInfo(kRootVMInternal)); in Destroy() 2437 tlsPtr_.jni_env->monitors.VisitRoots(visitor, RootInfo(kRootJNIMonitor, thread_id)); in VisitRoots()
|
D | jni_internal.cc | 2233 soa.Env()->monitors.Add(o); in MonitorEnter() 2245 soa.Env()->monitors.Remove(o); in MonitorExit()
|
/art/runtime/jdwp/ |
D | jdwp_handler.cc | 1034 std::vector<ObjectId> monitors; in TR_OwnedMonitors() local 1036 JdwpError rc = Dbg::GetOwnedMonitors(thread_id, &monitors, &stack_depths); in TR_OwnedMonitors() 1041 expandBufAdd4BE(reply, monitors.size()); in TR_OwnedMonitors() 1042 for (size_t i = 0; i < monitors.size(); ++i) { in TR_OwnedMonitors() 1043 rc = WriteTaggedObject(reply, monitors[i]); in TR_OwnedMonitors()
|