Searched refs:monitors (Results 1 - 10 of 10) 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 65 static void ReleaseMonitors(Thread* self, MonitorList::Monitors* monitors) { argument 68 STLDeleteElements(monitors); 70 GetMonitorPool()->ReleaseMonitorsToPool(self, monitors); 119 void ReleaseMonitorsToPool(Thread* self, MonitorList::Monitors* monitors); 184 // Start of free list of monitors.
|
H A D | jni_env_ext.cc | 56 monitors("monitors", kMonitorsInitial, kMonitorsMax) { 86 monitors.Dump(os);
|
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_env_ext.h | 86 // Entered JNI monitors, for bulk exit on thread detach. 87 ReferenceTable monitors; member in struct:art::JNIEnvExt
|
H A D | debugger.h | 353 std::vector<JDWP::ObjectId>* monitors,
|
H A D | thread.cc | 1362 // On thread detach, all monitors entered with JNI MonitorEnter are automatically exited. 1363 tlsPtr_.jni_env->monitors.VisitRoots(&visitor, RootInfo(kRootVMInternal)); 2437 tlsPtr_.jni_env->monitors.VisitRoots(visitor, RootInfo(kRootJNIMonitor, thread_id));
|
H A D | debugger.cc | 883 std::vector<JDWP::ObjectId>* monitors, 892 monitors(monitor_vector), 908 visitor->monitors->push_back(gRegistry->Add(owned_monitor)); 913 std::vector<JDWP::ObjectId>* const monitors; member in class:art::OwnedMonitorVisitor::std 927 OwnedMonitorVisitor visitor(thread, context.get(), monitors, stack_depths); 882 GetOwnedMonitors(JDWP::ObjectId thread_id, std::vector<JDWP::ObjectId>* monitors, std::vector<uint32_t>* stack_depths) argument
|
H A D | jni_internal.cc | 2233 soa.Env()->monitors.Add(o); 2245 soa.Env()->monitors.Remove(o);
|
/art/runtime/jdwp/ |
H A D | jdwp_handler.cc | 1034 std::vector<ObjectId> monitors; local 1036 JdwpError rc = Dbg::GetOwnedMonitors(thread_id, &monitors, &stack_depths); 1041 expandBufAdd4BE(reply, monitors.size()); 1042 for (size_t i = 0; i < monitors.size(); ++i) { 1043 rc = WriteTaggedObject(reply, monitors[i]);
|
Completed in 145 milliseconds