Searched defs:monitors (Results 1 - 6 of 6) sorted by relevance

/art/runtime/
H A Dmonitor_pool_test.cc49 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 Dmonitor_pool.cc134 void MonitorPool::ReleaseMonitorsToPool(Thread* self, MonitorList::Monitors* monitors) { argument
135 for (Monitor* mon : *monitors) {
H A Djni_internal.h187 // Entered JNI monitors, for bulk exit on thread detach.
188 ReferenceTable monitors; member in struct:art::JNIEnvExt
H A Dmonitor_pool.h33 // 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 Ddebugger.cc950 std::vector<JDWP::ObjectId>& monitors,
958 monitors(monitor_vector), stack_depths(stack_depth_vector) {}
973 visitor->monitors->push_back(gRegistry->Add(owned_monitor));
978 std::vector<JDWP::ObjectId>* monitors; member in struct:art::OwnedMonitorVisitor
995 OwnedMonitorVisitor visitor(thread, context.get(), &monitors, &stack_depths);
949 GetOwnedMonitors(JDWP::ObjectId thread_id, std::vector<JDWP::ObjectId>& monitors, std::vector<uint32_t>& stack_depths) argument
/art/runtime/jdwp/
H A Djdwp_handler.cc1085 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 501 milliseconds