/openjdk7/jdk/test/java/nio/channels/AsynchronousChannelGroup/ |
H A D | Attack.java | 26 import java.util.concurrent.CountDownLatch; 33 private final CountDownLatch latch = new CountDownLatch(1);
|
H A D | AsExecutor.java | 63 final CountDownLatch latch = new CountDownLatch(1);
|
/openjdk7/jdk/test/java/util/logging/ |
H A D | LoggingDeadlock4.java | 34 import java.util.concurrent.CountDownLatch; 39 private static CountDownLatch barrier = new CountDownLatch(1); 40 private static CountDownLatch lmIsRunning = new CountDownLatch(1); 41 private static CountDownLatch logIsRunning = new CountDownLatch(1);
|
H A D | ClassLoaderLeakTest.java | 41 import java.util.concurrent.CountDownLatch; 47 private static CountDownLatch doneSignal; 48 private static CountDownLatch launchSignal; 54 doneSignal = new CountDownLatch(1); 55 launchSignal = new CountDownLatch(1); 184 public void launch(CountDownLatch done) {
|
/openjdk7/jdk/test/java/util/concurrent/ScheduledThreadPoolExecutor/ |
H A D | Stress.java | 37 final CountDownLatch count = new CountDownLatch(1000);
|
H A D | DelayOverflow.java | 100 final CountDownLatch runLatch = new CountDownLatch(1); 101 final CountDownLatch busyLatch = new CountDownLatch(1); 102 final CountDownLatch proceedLatch = new CountDownLatch(1); 131 final CountDownLatch runLatch = new CountDownLatch(1);
|
H A D | DecorateTask.java | 34 Runnable countDownTask(final CountDownLatch latch) { 80 final CountDownLatch latch1 = new CountDownLatch(jobs); 81 final CountDownLatch latch2 = new CountDownLatch(jobs);
|
/openjdk7/jdk/test/java/util/concurrent/CountDownLatch/ |
H A D | Basic.java | 27 * @summary Basic tests for CountDownLatch 46 private void toTheStartingGate(CountDownLatch gate) { 53 private Awaiter awaiter(final CountDownLatch latch, 54 final CountDownLatch gate) { 66 private Awaiter awaiter(final CountDownLatch latch, 67 final CountDownLatch gate, 80 private AwaiterFactory awaiterFactories(final CountDownLatch latch, 81 final CountDownLatch gate, 97 CountDownLatch latch = new CountDownLatch( [all...] |
/openjdk7/jdk/test/java/lang/ThreadGroup/ |
H A D | NullThreadName.java | 37 import java.util.concurrent.CountDownLatch; 42 static CountDownLatch done = new CountDownLatch(1);
|
/openjdk7/jdk/test/javax/swing/JFileChooser/6489130/ |
H A D | bug6489130.java | 35 import java.util.concurrent.CountDownLatch; 41 private static final CountDownLatch MUX = new CountDownLatch(1);
|
/openjdk7/jdk/test/javax/swing/JFileChooser/6945316/ |
H A D | bug6945316.java | 36 import java.util.concurrent.CountDownLatch; 57 final CountDownLatch countDownLatch = new CountDownLatch(1);
|
/openjdk7/jdk/test/java/lang/Runtime/exec/ |
H A D | StreamsSurviveDestroy.java | 44 CountDownLatch latch; 47 boolean ae, boolean wi, CountDownLatch l) 102 CountDownLatch latch = new CountDownLatch(2); 122 CountDownLatch latch = new CountDownLatch(2); 144 CountDownLatch latch = new CountDownLatch(2); 166 CountDownLatch latch = new CountDownLatch( [all...] |
/openjdk7/jdk/test/java/rmi/transport/acceptLoop/ |
H A D | CloseServerSocketOnTermination.java | 45 import java.util.concurrent.CountDownLatch; 72 CountDownLatch latch = new CountDownLatch(1); 84 private final CountDownLatch closedLatch; 85 SSF(Throwable acceptFailure, CountDownLatch closedLatch) {
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | CountDownLatch.java | 44 * <p>A {@code CountDownLatch} is initialized with a given <em>count</em>. 52 * <p>A {@code CountDownLatch} is a versatile synchronization tool 54 * {@code CountDownLatch} initialized with a count of one serves as a 57 * #countDown}. A {@code CountDownLatch} initialized to <em>N</em> 61 * <p>A useful property of a {@code CountDownLatch} is that it 79 * CountDownLatch startSignal = new CountDownLatch(1); 80 * CountDownLatch doneSignal = new CountDownLatch(N); 93 * private final CountDownLatch startSigna 161 public class CountDownLatch { class 203 public CountDownLatch(int count) { method in class:CountDownLatch [all...] |
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/ |
H A D | SelfInterrupt.java | 38 final CountDownLatch startingGate = new CountDownLatch(n); 39 final CountDownLatch finishLine = new CountDownLatch(n);
|
/openjdk7/jdk/test/sun/java2d/DirectX/InfiniteValidationLoopTest/ |
H A D | InfiniteValidationLoopTest.java | 39 import java.util.concurrent.CountDownLatch; 44 private static volatile CountDownLatch latch; 94 latch = new CountDownLatch(1); 102 latch = new CountDownLatch(1);
|
/openjdk7/jdk/test/sun/java2d/DirectX/ |
H A D | DrawBitmaskToSurfaceTest.java | 37 import java.util.concurrent.CountDownLatch; 43 private static java.util.concurrent.CountDownLatch latch = null; 85 latch = new CountDownLatch(1);
|
/openjdk7/jdk/test/sun/java2d/ |
H A D | XRenderBlitsTest.java | 40 import java.util.concurrent.CountDownLatch; 48 final CountDownLatch done = new CountDownLatch(1);
|
/openjdk7/jdk/test/sun/awt/font/ |
H A D | ClassLoaderLeakTest.java | 42 import java.util.concurrent.CountDownLatch; 46 private static CountDownLatch doneSignal; 47 private static CountDownLatch launchSignal; 51 doneSignal = new CountDownLatch(1); 52 launchSignal = new CountDownLatch(1); 201 public void launch(CountDownLatch done) {
|
/openjdk7/jdk/test/javax/swing/JSlider/6794831/ |
H A D | bug6794831.java | 34 import java.util.concurrent.CountDownLatch; 38 private final CountDownLatch countDownLatch = new CountDownLatch(1);
|
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/ |
H A D | LotsOfWrites.java | 34 import java.util.concurrent.CountDownLatch; 46 private final CountDownLatch latch; 75 Writer(File file, long size, CountDownLatch latch) throws IOException { 122 CountDownLatch latch = new CountDownLatch(count);
|
/openjdk7/jdk/test/com/sun/nio/sctp/SctpServerChannel/ |
H A D | Accept.java | 33 import java.util.concurrent.CountDownLatch; 45 static CountDownLatch acceptLatch = new CountDownLatch(1); 46 static CountDownLatch closeByIntLatch = new CountDownLatch(1); 47 static CountDownLatch asyncCloseLatch = new CountDownLatch(1);
|
/openjdk7/jdk/test/java/util/Timer/ |
H A D | Args.java | 52 TimerTask counter(final CountDownLatch latch) { 97 final CountDownLatch y1 = new CountDownLatch(1); 98 final CountDownLatch y2 = new CountDownLatch(1); 99 final CountDownLatch y3 = new CountDownLatch(11);
|
/openjdk7/jdk/test/java/util/zip/ZipFile/ |
H A D | FinalizeZipFile.java | 33 import java.util.concurrent.CountDownLatch; 38 private final static CountDownLatch finalizersDone = new CountDownLatch(3);
|
/openjdk7/jdk/test/sun/java2d/DirectX/OverriddenInsetsTest/ |
H A D | OverriddenInsetsTest.java | 47 import java.util.concurrent.CountDownLatch; 54 static final CountDownLatch lock = new CountDownLatch(1);
|