Home
last modified time | relevance | path

Searched refs:Monitors (Results 1 – 15 of 15) sorted by relevance

/art/test/1931-monitor-events/src/art/
DTest1931.java57 Monitors.setupMonitorEvents( in run()
65 Monitors.NamedLock.class, in run()
69 testLock(new Monitors.NamedLock("Lock testLock")); in run()
72 testPark(new Monitors.NamedLock("Parking blocker object")); in run()
75 testWait(new Monitors.NamedLock("Lock testWait")); in run()
78 testTimedWait(new Monitors.NamedLock("Lock testTimedWait")); in run()
81 testTimedWaitTimeout(new Monitors.NamedLock("Lock testTimedWaitTimeout")); in run()
86 testUnlockedWait(new Monitors.NamedLock("Lock testUnlockedWait")); in run()
89 testIllegalWait(new Monitors.NamedLock("Lock testIllegalWait")); in run()
92 testInteruptWait(new Monitors.NamedLock("Lock testInteruptWait")); in run()
[all …]
DMonitors.java26 public class Monitors { class
243 if (IsLocked() && Objects.equals(runner, Monitors.getObjectMonitorUsage(lock).owner)) { in waitForLockToBeHeld()
256 !Arrays.asList(Monitors.getObjectMonitorUsage(lock).notifyWaiters).contains(runner)); in waitForNotifySleep()
267 !Arrays.asList(Monitors.getObjectMonitorUsage(lock).waiters).contains(runner)); in waitForContendedSleep()
/art/test/1933-monitor-current-contended/src/art/
DTest1933.java22 testNoContention(new Monitors.NamedLock("test testNoContention")); in run()
25 testNormalContendedMonitor(new Monitors.NamedLock("test testNormalContendedMonitor")); in run()
28 testNormalWaitMonitor(new Monitors.NamedLock("test testNormalWaitMonitor")); in run()
31 public static void testNormalWaitMonitor(final Monitors.NamedLock lk) throws Exception { in testNormalWaitMonitor()
32 final Monitors.LockController controller1 = new Monitors.LockController(lk); in testNormalWaitMonitor()
48 public static void testNormalContendedMonitor(final Monitors.NamedLock lk) throws Exception { in testNormalContendedMonitor()
49 final Monitors.LockController controller1 = new Monitors.LockController(lk); in testNormalContendedMonitor()
50 final Monitors.LockController controller2 = new Monitors.LockController(lk); in testNormalContendedMonitor()
61 public static void testNoContention(final Monitors.NamedLock lk) throws Exception { in testNoContention()
64 Monitors.getCurrentContendedMonitor(null)); in testNoContention()
DMonitors.java26 public class Monitors { class
243 if (IsLocked() && Objects.equals(runner, Monitors.getObjectMonitorUsage(lock).owner)) { in waitForLockToBeHeld()
256 !Arrays.asList(Monitors.getObjectMonitorUsage(lock).notifyWaiters).contains(runner)); in waitForNotifySleep()
267 !Arrays.asList(Monitors.getObjectMonitorUsage(lock).waiters).contains(runner)); in waitForContendedSleep()
/art/test/1930-monitor-info/src/art/
DTest1930.java25 Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testSingleThread"); in testSingleThread()
29 Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testSingleThread"); in testSingleThreadNative()
34 final Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testLockedTwice"); in testLockedTwice()
39 final Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testLockedTwiceNJ"); in testLockedTwiceNJ()
44 final Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testLockedTwiceJN"); in testLockedTwiceJN()
49 final Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testLockedTwiceNative"); in testLockedTwiceNative()
58 final Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testLockWait"); in testLockWait()
74 if (Arrays.asList(Monitors.getObjectMonitorUsage(lk).waiters).contains(t)) { in testLockWait()
92 final Monitors.NamedLock lk = new Monitors.NamedLock("Test1930 - testNotifyWait"); in testNotifyWait()
140 Thread.currentThread().getName(), Monitors.getObjectMonitorUsage(lock))); in printPreLock()
[all …]
DMonitors.java26 public class Monitors { class
243 if (IsLocked() && Objects.equals(runner, Monitors.getObjectMonitorUsage(lock).owner)) { in waitForLockToBeHeld()
256 !Arrays.asList(Monitors.getObjectMonitorUsage(lock).notifyWaiters).contains(runner)); in waitForNotifySleep()
267 !Arrays.asList(Monitors.getObjectMonitorUsage(lock).waiters).contains(runner)); in waitForContendedSleep()
/art/test/1932-monitor-events-misc/
Dexpected.txt9 Caught exception: art.Monitors$TestException: Exception thrown by other thread!
10 …Caused by: art.Monitors$TestException: throwing exception during monitorEnter of NamedLock[Lock te…
16 Caught exception: art.Monitors$TestException: Exception thrown by other thread!
17 …Caused by: art.Monitors$TestException: throwing exception during monitorEntered of NamedLock[Lock …
24 Caught exception: art.Monitors$TestException: Exception thrown by other thread!
25 …Caused by: art.Monitors$TestException: throwing exception during monitorEntered of NamedLock[Lock …
30 Caught exception: art.Monitors$TestException: Exception thrown by other thread!
31 …Caused by: art.Monitors$TestException: throwing exception during MonitorWait of NamedLock[Lock tes…
36 Caught exception: art.Monitors$TestException: Exception thrown by other thread!
37 …Caused by: art.Monitors$TestException: throwing exception during monitorWait of NamedLock[Lock tes…
[all …]
/art/test/1931-monitor-events/
Dexpected.txt24 Caught exception: art.Monitors$TestException: Exception thrown by other thread!
25 Caused by: art.Monitors$TestException: Got an error while performing action TIMED_WAIT
30 Caught exception: art.Monitors$TestException: Exception thrown by other thread!
31 Caused by: art.Monitors$TestException: Got an error while performing action WAIT
/art/test/1932-monitor-events-misc/src/art/
DMonitors.java26 public class Monitors { class
243 if (IsLocked() && Objects.equals(runner, Monitors.getObjectMonitorUsage(lock).owner)) { in waitForLockToBeHeld()
256 !Arrays.asList(Monitors.getObjectMonitorUsage(lock).notifyWaiters).contains(runner)); in waitForNotifySleep()
267 !Arrays.asList(Monitors.getObjectMonitorUsage(lock).waiters).contains(runner)); in waitForContendedSleep()
/art/test/1934-jvmti-signal-thread/src/art/
DMonitors.java26 public class Monitors { class
243 if (IsLocked() && Objects.equals(runner, Monitors.getObjectMonitorUsage(lock).owner)) { in waitForLockToBeHeld()
256 !Arrays.asList(Monitors.getObjectMonitorUsage(lock).notifyWaiters).contains(runner)); in waitForNotifySleep()
267 !Arrays.asList(Monitors.getObjectMonitorUsage(lock).waiters).contains(runner)); in waitForContendedSleep()
DTest1934.java133 while (!Objects.equals(Monitors.getCurrentContendedMonitor(target), tst)) {} in testStopWait()
160 while (!Objects.equals(Monitors.getCurrentContendedMonitor(target), tst)) {} in testInterruptWait()
/art/runtime/
Dmonitor_pool.h68 static void ReleaseMonitors(Thread* self, MonitorList::Monitors* monitors) { in ReleaseMonitors()
135 void ReleaseMonitorsToPool(Thread* self, MonitorList::Monitors* monitors);
Dmonitor_pool.cc153 void MonitorPool::ReleaseMonitorsToPool(Thread* self, MonitorList::Monitors* monitors) { in ReleaseMonitorsToPool()
Dmonitor.h362 typedef std::list<Monitor*, TrackingAllocator<Monitor*, kAllocatorTagMonitorList>> Monitors; typedef
372 Monitors list_ GUARDED_BY(monitor_list_lock_);
/art/test/
DAndroid.bp564 "1930-monitor-info/src/art/Monitors.java",