Searched refs:monitors (Results 1 - 9 of 9) sorted by relevance
/art/runtime/ |
H A D | monitor_pool_test.cc | 49 std::vector<Monitor*> monitors; local 52 // 1) Create and release monitors without increasing the storage. 54 // Number of max alive monitors before resize. 61 // Allocate and release monitors. 64 if (monitors.size() == 0) { 66 } else if (monitors.size() == kMaxUsage) { 75 monitors.push_back(mon); 80 size_t index = r.next() % monitors.size(); 81 Monitor* mon = monitors[index]; 82 monitors [all...] |
H A D | monitor_pool.h | 33 // Abstraction to keep monitors small enough to fit in a lock word (32bits). On 32bit systems the 62 static void ReleaseMonitors(Thread* self, MonitorList::Monitors* monitors) { argument 64 STLDeleteElements(monitors); 66 GetMonitorPool()->ReleaseMonitorsToPool(self, monitors); 114 void ReleaseMonitorsToPool(Thread* self, MonitorList::Monitors* monitors); 178 // Start of free list of monitors.
|
H A D | monitor_pool.cc | 134 void MonitorPool::ReleaseMonitorsToPool(Thread* self, MonitorList::Monitors* monitors) { argument 135 for (Monitor* mon : *monitors) {
|
H A D | jni_internal.h | 187 // Entered JNI monitors, for bulk exit on thread detach. 188 ReferenceTable monitors; member in struct:art::JNIEnvExt
|
H A D | debugger.h | 327 std::vector<JDWP::ObjectId>& monitors,
|
H A D | debugger.cc | 938 std::vector<JDWP::ObjectId>& monitors, 946 monitors(monitor_vector), stack_depths(stack_depth_vector) {} 961 visitor->monitors->push_back(gRegistry->Add(owned_monitor)); 966 std::vector<JDWP::ObjectId>* monitors; member in struct:art::OwnedMonitorVisitor 983 OwnedMonitorVisitor visitor(thread, context.get(), &monitors, &stack_depths); 937 GetOwnedMonitors(JDWP::ObjectId thread_id, std::vector<JDWP::ObjectId>& monitors, std::vector<uint32_t>& stack_depths) argument
|
H A D | thread.cc | 1165 // On thread detach, all monitors entered with JNI MonitorEnter are automatically exited. 1167 tlsPtr_.jni_env->monitors.VisitRoots(MonitorExitVisitor, self, 0, kRootVMInternal); 2169 tlsPtr_.jni_env->monitors.VisitRoots(visitor, arg, thread_id, kRootJNIMonitor);
|
H A D | jni_internal.cc | 2469 soa.Env()->monitors.Add(o); 2481 soa.Env()->monitors.Remove(o); 2962 monitors("monitors", kMonitorsInitial, kMonitorsMax) { 2991 monitors.Dump(os);
|
/art/runtime/jdwp/ |
H A D | jdwp_handler.cc | 1085 std::vector<ObjectId> monitors; local 1087 JdwpError rc = Dbg::GetOwnedMonitors(thread_id, monitors, stack_depths); 1092 expandBufAdd4BE(reply, monitors.size()); 1093 for (size_t i = 0; i < monitors.size(); ++i) { 1094 rc = WriteTaggedObject(reply, monitors[i]);
|
Completed in 1514 milliseconds