Searched refs:monitors (Results 1 – 15 of 15) 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 | 68 static void ReleaseMonitors(Thread* self, MonitorList::Monitors* monitors) { in ReleaseMonitors() argument 71 STLDeleteElements(monitors); in ReleaseMonitors() 73 GetMonitorPool()->ReleaseMonitorsToPool(self, monitors); in ReleaseMonitors() 135 void ReleaseMonitorsToPool(Thread* self, MonitorList::Monitors* monitors);
|
D | monitor_pool.cc | 153 void MonitorPool::ReleaseMonitorsToPool(Thread* self, MonitorList::Monitors* monitors) { in ReleaseMonitorsToPool() argument 154 for (Monitor* mon : *monitors) { in ReleaseMonitorsToPool()
|
/art/test/1922-owned-monitors-info/ |
D | expected.txt | 1 owner-monitors, This thread 3 Owned monitors: [NamedLock("Lock 1")] 5 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monit… 7 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 3")] 9 Owned monitors: [NamedLock("Lock 1"), Target("Current thread test: owned-monitor")] 11 Owned monitors: [NamedLock("Lock 1"), class art.Test1922$Target] 13 Owned monitors: [NamedLock("Lock 1"), Target("Current thread test: owned-monitor")] 15 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monit… 17 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), NamedLock("Lock 3"), Target("Current thr… 19 Owned monitors: [NamedLock("Lock 1"), NamedLock("Lock 2"), Target("Current thread test: owned-monit… [all …]
|
D | owned_monitors.cc | 94 jvmtiMonitorStackDepthInfo* monitors = nullptr; in Java_art_Test1922_getOwnedMonitorStackDepthInfo() local 96 env, jvmti_env, jvmti_env->GetOwnedMonitorStackDepthInfo(thread, &len, &monitors))) { in Java_art_Test1922_getOwnedMonitorStackDepthInfo() 112 monitors[i].stack_depth, in Java_art_Test1922_getOwnedMonitorStackDepthInfo() 113 monitors[i].monitor); in Java_art_Test1922_getOwnedMonitorStackDepthInfo()
|
D | Android.bp | 3 name: "art-run-test-1922-owned-monitors-info",
|
/art/test/596-monitor-inflation/ |
D | info.txt | 1 A simple test that forces many monitors to be inflated, while checking 4 This allocates more monitors and hence may exercise the monitor pool
|
D | expected.txt | 2 Monitor list grew by at least 4000 monitors
|
/art/test/923-monitors/ |
D | Android.bp | 3 name: "art-run-test-923-monitors",
|
/art/test/2029-contended-monitors/ |
D | Android.bp | 3 name: "art-run-test-2029-contended-monitors",
|
/art/runtime/jni/ |
D | jni_env_ext.cc | 214 ReferenceTable* monitors, in RemoveMonitors() argument 220 [self, frame, monitors](const std::pair<uintptr_t, jobject>& pair) in RemoveMonitors() 224 monitors->Remove(o); in RemoveMonitors()
|
/art/openjdkjvmti/ |
D | ti_stack.cc | 872 for (const art::Handle<art::mirror::Object>& monitor : visitor->monitors) { in AppendOwnedMonitors() 877 visitor->monitors.push_back(visitor->hs.NewHandle(owned_monitor)); in AppendOwnedMonitors() 883 for (const art::Handle<art::mirror::Object>& m : monitors) { in VisitRoot() 888 monitors.push_back(hs.NewHandle(obj)); in VisitRoot() 894 std::vector<art::Handle<art::mirror::Object>> monitors; member 974 for (size_t i = 0; i < visitor.monitors.size(); i++) { in GetOwnedMonitorStackDepthInfo() 975 mons.push_back(art::GcRoot<art::mirror::Object>(visitor.monitors[i].Get())); in GetOwnedMonitorStackDepthInfo() 1009 for (size_t i = 0; i < visitor.monitors.size(); i++) { in GetOwnedMonitorInfo() 1010 mons.push_back(art::GcRoot<art::mirror::Object>(visitor.monitors[i].Get())); in GetOwnedMonitorInfo()
|
/art/test/utils/ |
D | regen-test-files | 84 art-run-test-1922-owned-monitors-info 225 art-run-test-923-monitors
|
/art/test/ |
D | Android.bp | 356 "923-monitors/monitors.cc", 384 "1922-owned-monitors-info/owned_monitors.cc", 706 "923-monitors/src/art/Test923.java", 758 "1922-owned-monitors-info/src/art/Test1922.java", 846 "923-monitors/expected.txt", 896 "1922-owned-monitors-info/expected.txt",
|
/art/ |
D | TEST_MAPPING | 387 "name": "art-run-test-2029-contended-monitors"
|