Home
last modified time | relevance | path

Searched refs:parker (Results 1 – 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
DThreadsTest.java53 Parker parker = new Parker(barrier, false, 500); in test_parkFor_1() local
54 Thread parkerThread = new Thread(parker); in test_parkFor_1()
60 parker.assertDurationIsInRange(500); in test_parkFor_1()
68 Parker parker = new Parker(barrier, false, 1000); in test_parkFor_2() local
69 Thread parkerThread = new Thread(parker); in test_parkFor_2()
75 parker.assertDurationIsInRange(300); in test_parkFor_2()
83 Parker parker = new Parker(barrier, false, 1000); in test_parkFor_3() local
84 Thread parkerThread = new Thread(parker); in test_parkFor_3()
88 parker.assertDurationIsInRange(0); in test_parkFor_3()
95 Parker parker = new Parker(barrier, true, 500); in test_parkUntil_1() local
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadTest.java104 final Thread parker = new Thread() { in test_joinWithSpuriousInterruption() local
119 LockSupport.unpark(parker); in test_joinWithSpuriousInterruption()
127 parker.start(); in test_joinWithSpuriousInterruption()
129 parker.join(500, 500000); in test_joinWithSpuriousInterruption()
/libcore/luni/src/main/java/java/util/concurrent/
DForkJoinPool.java642 volatile Thread parker; // == owner during call to park; else null field in ForkJoinPool.WorkQueue
1421 if ((p = v.parker) != null) in deregisterWorker()
1620 if ((p = w.parker) != null) in signalWork()
1748 w.parker = wt; // emulate LockSupport.park in awaitWork()
1751 w.parker = null; in awaitWork()
1782 if ((p = v.parker) != null) in helpRelease()
1941 if ((p = w.parker) != null) in tryCompensate()
2274 if ((p = w.parker) != null) in tryTerminate()