/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | LockSupportTest.java | 42 import java.util.concurrent.locks.LockSupport; 59 Class<?> ensureLoaded = LockSupport.class; 73 LockSupport.park(); in park() 81 LockSupport.parkUntil(deadline(millis)); in parkUntil() 86 LockSupport.parkNanos(MILLISECONDS.toNanos(millis)); in parkNanos() 91 LockSupport.park(theBlocker()); in parkBlocker() 99 LockSupport.parkUntil(theBlocker(), deadline(millis)); in parkUntilBlocker() 104 LockSupport.parkNanos(theBlocker(), in parkNanosBlocker() 149 LockSupport.unpark(t); in testParkBeforeUnpark() 186 LockSupport.unpark(t); in testParkAfterUnpark() [all …]
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | LockSupportTest.java | 16 import java.util.concurrent.locks.LockSupport; 35 Class<?> ensureLoaded = LockSupport.class; 49 LockSupport.park(); in park() 57 LockSupport.parkUntil(deadline(millis)); in parkUntil() 62 LockSupport.parkNanos(MILLISECONDS.toNanos(millis)); in parkNanos() 67 LockSupport.park(theBlocker()); in parkBlocker() 75 LockSupport.parkUntil(theBlocker(), deadline(millis)); in parkUntilBlocker() 80 LockSupport.parkNanos(theBlocker(), in parkNanosBlocker() 125 LockSupport.unpark(t); in testParkBeforeUnpark() 162 LockSupport.unpark(t); in testParkAfterUnpark() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | FutureTask.java | 38 import java.util.concurrent.locks.LockSupport; 371 LockSupport.unpark(t); in finishCompletion() 447 LockSupport.parkNanos(this, parkNanos); in awaitDone() 450 LockSupport.park(this); in awaitDone() 505 Class<?> ensureLoaded = LockSupport.class;
|
D | SynchronousQueue.java | 45 import java.util.concurrent.locks.LockSupport; 267 LockSupport.unpark(w); in tryMatch() 459 LockSupport.park(this); in awaitFulfill() 461 LockSupport.parkNanos(this, nanos); in awaitFulfill() 720 LockSupport.unpark(m.waiter); in transfer() 760 LockSupport.park(this); in awaitFulfill() 762 LockSupport.parkNanos(this, nanos); in awaitFulfill() 1206 Class<?> ensureLoaded = LockSupport.class;
|
D | Phaser.java | 39 import java.util.concurrent.locks.LockSupport; 977 LockSupport.unpark(t); in releaseWaiters() 1001 LockSupport.unpark(t); in abortWait() 1130 LockSupport.parkNanos(this, nanos); in block() 1132 LockSupport.park(this); in block() 1152 Class<?> ensureLoaded = LockSupport.class;
|
D | LinkedTransferQueue.java | 46 import java.util.concurrent.locks.LockSupport; 532 LockSupport.unpark(waiter); in tryMatchData() 624 LockSupport.unpark(p.waiter); in xfer() 727 LockSupport.parkNanos(this, nanos); in awaitMatch() 730 LockSupport.park(this); in awaitMatch() 1585 Class<?> ensureLoaded = LockSupport.class;
|
D | ForkJoinPool.java | 48 import java.util.concurrent.locks.LockSupport; 1716 LockSupport.unpark(v.parker); in signalWork() 1740 LockSupport.unpark(v.parker); in tryRelease() 1768 LockSupport.unpark(v.parker); in tryReactivate() 1811 LockSupport.park(this); in awaitWork() 1842 LockSupport.parkUntil(this, deadline); in timedAwaitWork() 1908 LockSupport.unpark(v.parker); in tryDropSpare() 3486 Class<?> ensureLoaded = LockSupport.class;
|
D | CompletableFuture.java | 38 import java.util.concurrent.locks.LockSupport; 1707 LockSupport.unpark(w); in tryFire() 1723 LockSupport.park(this); in block() 1725 LockSupport.parkNanos(this, nanos); in block() 2773 Class<?> ensureLoaded = LockSupport.class;
|
D | ConcurrentHashMap.java | 54 import java.util.concurrent.locks.LockSupport; 2889 LockSupport.park(this); in contendedLock() 2918 LockSupport.unpark(w); in find() 6381 Class<?> ensureLoaded = LockSupport.class;
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | AbstractQueuedLongSynchronizer.java | 228 LockSupport.unpark(s.thread); in unparkSuccessor() 402 LockSupport.park(this); in parkAndCheckInterrupt() 496 LockSupport.parkNanos(this, nanosTimeout); in doAcquireNanos() 595 LockSupport.parkNanos(this, nanosTimeout); in doAcquireSharedNanos() 1242 LockSupport.unpark(node.thread); in transferForSignal() 1532 LockSupport.park(this); in awaitUninterruptibly() 1595 LockSupport.park(this); in await() 1637 LockSupport.parkNanos(this, nanosTimeout); in awaitNanos() 1680 LockSupport.parkUntil(this, abstime); in awaitUntil() 1725 LockSupport.parkNanos(this, nanosTimeout); in await() [all …]
|
D | LockSupport.java | 135 public class LockSupport { class 136 private LockSupport() {} // Cannot be instantiated. in LockSupport() method in LockSupport
|
D | AbstractQueuedSynchronizer.java | 694 LockSupport.unpark(s.thread); in unparkSuccessor() 868 LockSupport.park(this); in parkAndCheckInterrupt() 964 LockSupport.parkNanos(this, nanosTimeout); in doAcquireNanos() 1063 LockSupport.parkNanos(this, nanosTimeout); in doAcquireSharedNanos() 1716 LockSupport.unpark(node.thread); in transferForSignal() 2004 LockSupport.park(this); in awaitUninterruptibly() 2067 LockSupport.park(this); in await() 2109 LockSupport.parkNanos(this, nanosTimeout); in awaitNanos() 2152 LockSupport.parkUntil(this, abstime); in awaitUntil() 2197 LockSupport.parkNanos(this, nanosTimeout); in await() [all …]
|
D | StampedLock.java | 970 else if ((LockSupport.nextSecondarySeed() & in tryIncReaderOverflow() 997 else if ((LockSupport.nextSecondarySeed() & in tryDecReaderOverflow() 1044 if (LockSupport.nextSecondarySeed() >= 0) in acquireWrite() 1082 else if (LockSupport.nextSecondarySeed() >= 0 && in acquireWrite() 1157 if (LockSupport.nextSecondarySeed() >= 0) in acquireRead() 1267 LockSupport.nextSecondarySeed() >= 0 && --k <= 0) in acquireRead()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThreadTest.java | 35 import java.util.concurrent.locks.LockSupport; 441 LockSupport.unpark(current); in parkUntilWithUnderflowValue() 450 LockSupport.parkUntil(Long.MIN_VALUE); in parkUntilWithUnderflowValue() 468 LockSupport.parkNanos(nanos); in LongParker() 476 LockSupport.unpark(parkerThread); in quit()
|
D | OldThreadTest.java | 23 import java.util.concurrent.locks.LockSupport; 110 LockSupport.park(); in test_joinWithSpuriousInterruption() 120 LockSupport.unpark(parker); in test_joinWithSpuriousInterruption()
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Thread.annotated.java | 33 import java.util.concurrent.locks.LockSupport;
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Thread.annotated.java | 33 import java.util.concurrent.locks.LockSupport;
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Thread.java | 40 import java.util.concurrent.locks.LockSupport;
|
/libcore/ |
D | openjdk_java_files.bp | 1012 "ojluni/src/main/java/java/util/concurrent/locks/LockSupport.java",
|
/libcore/api/ |
D | current.txt | 15523 public class LockSupport {
|