Searched refs:monitors (Results 1 - 9 of 9) 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.h33 // 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);
129 void ReleaseMonitorsToPool(Thread* self, MonitorList::Monitors* monitors);
204 // the 3 bit alignment constraint on monitors:
209 // Array of pointers to lists (again arrays) of pointers to chunks containing monitors.
217 // monitors, which is 0.5GB of monitors. With this maximum setting, the largest chunk list
219 // kInitialChunkStorage value of 256, this is proportionately reduced to 0.25GB of monitors
[all...]
H A Dmonitor_pool.cc48 CHECK_LT(current_chunk_list_index_, kMaxChunkLists) << "Out of space for inflated monitors";
151 void MonitorPool::ReleaseMonitorsToPool(Thread* self, MonitorList::Monitors* monitors) { argument
152 for (Monitor* mon : *monitors) {
H A Djni_env_ext.cc79 monitors_("monitors", kMonitorsInitial, kMonitorsMax),
213 ReferenceTable* monitors,
219 [self, frame, monitors](const std::pair<uintptr_t, jobject>& pair)
223 monitors->Remove(o);
254 // the monitors table, otherwise we may visit local objects in GC during abort (which won't be
265 // to this call - this signals that there are unlocked monitors.
275 // the monitors table, otherwise we may visit local objects in GC during abort.
H A Ddebugger.h363 std::vector<JDWP::ObjectId>* monitors,
H A Ddebugger.cc886 std::vector<JDWP::ObjectId>* monitors,
895 monitors(monitor_vector),
911 visitor->monitors->push_back(gRegistry->Add(owned_monitor));
916 std::vector<JDWP::ObjectId>* const monitors; member in class:art::OwnedMonitorVisitor::std
930 OwnedMonitorVisitor visitor(thread, context.get(), monitors, stack_depths);
885 GetOwnedMonitors(JDWP::ObjectId thread_id, std::vector<JDWP::ObjectId>* monitors, std::vector<uint32_t>* stack_depths) argument
/art/test/1922-owned-monitors-info/
H A Downed_monitors.cc94 jvmtiMonitorStackDepthInfo* monitors = nullptr; local
96 env, jvmti_env, jvmti_env->GetOwnedMonitorStackDepthInfo(thread, &len, &monitors))) {
112 monitors[i].stack_depth,
113 monitors[i].monitor);
/art/openjdkjvmti/
H A Dti_stack.cc856 for (const art::Handle<art::mirror::Object>& monitor : visitor->monitors) {
861 visitor->monitors.push_back(visitor->hs.NewHandle(mon));
867 for (const art::Handle<art::mirror::Object>& m : monitors) {
872 monitors.push_back(hs.NewHandle(obj));
878 std::vector<art::Handle<art::mirror::Object>> monitors; member in struct:openjdkjvmti::MonitorVisitor
890 // Find the monitors on the stack.
893 // Find any other monitors, including ones acquired in native code.
958 for (size_t i = 0; i < visitor.monitors.size(); i++) {
959 mons.push_back(art::GcRoot<art::mirror::Object>(visitor.monitors[i].Get()));
993 for (size_t i = 0; i < visitor.monitors
[all...]
/art/runtime/jdwp/
H A Djdwp_handler.cc1062 std::vector<ObjectId> monitors; local
1064 JdwpError rc = Dbg::GetOwnedMonitors(thread_id, &monitors, &stack_depths);
1069 expandBufAdd4BE(reply, monitors.size());
1070 for (size_t i = 0; i < monitors.size(); ++i) {
1071 rc = WriteTaggedObject(reply, monitors[i]);

Completed in 244 milliseconds