Searched refs:CountDownLatch (Results 1 - 25 of 63) sorted by relevance

123

/openjdk7/jdk/test/java/nio/channels/AsynchronousChannelGroup/
H A DAttack.java26 import java.util.concurrent.CountDownLatch;
33 private final CountDownLatch latch = new CountDownLatch(1);
H A DAsExecutor.java63 final CountDownLatch latch = new CountDownLatch(1);
/openjdk7/jdk/test/java/util/logging/
H A DLoggingDeadlock4.java34 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 DClassLoaderLeakTest.java41 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 DStress.java37 final CountDownLatch count = new CountDownLatch(1000);
H A DDelayOverflow.java100 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 DDecorateTask.java34 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 DBasic.java27 * @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 DNullThreadName.java37 import java.util.concurrent.CountDownLatch;
42 static CountDownLatch done = new CountDownLatch(1);
/openjdk7/jdk/test/javax/swing/JFileChooser/6489130/
H A Dbug6489130.java35 import java.util.concurrent.CountDownLatch;
41 private static final CountDownLatch MUX = new CountDownLatch(1);
/openjdk7/jdk/test/javax/swing/JFileChooser/6945316/
H A Dbug6945316.java36 import java.util.concurrent.CountDownLatch;
57 final CountDownLatch countDownLatch = new CountDownLatch(1);
/openjdk7/jdk/test/java/lang/Runtime/exec/
H A DStreamsSurviveDestroy.java44 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 DCloseServerSocketOnTermination.java45 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 DCountDownLatch.java44 * <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 DSelfInterrupt.java38 final CountDownLatch startingGate = new CountDownLatch(n);
39 final CountDownLatch finishLine = new CountDownLatch(n);
/openjdk7/jdk/test/sun/java2d/DirectX/InfiniteValidationLoopTest/
H A DInfiniteValidationLoopTest.java39 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 DDrawBitmaskToSurfaceTest.java37 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 DXRenderBlitsTest.java40 import java.util.concurrent.CountDownLatch;
48 final CountDownLatch done = new CountDownLatch(1);
/openjdk7/jdk/test/sun/awt/font/
H A DClassLoaderLeakTest.java42 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 Dbug6794831.java34 import java.util.concurrent.CountDownLatch;
38 private final CountDownLatch countDownLatch = new CountDownLatch(1);
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/
H A DLotsOfWrites.java34 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 DAccept.java33 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 DArgs.java52 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 DFinalizeZipFile.java33 import java.util.concurrent.CountDownLatch;
38 private final static CountDownLatch finalizersDone = new CountDownLatch(3);
/openjdk7/jdk/test/sun/java2d/DirectX/OverriddenInsetsTest/
H A DOverriddenInsetsTest.java47 import java.util.concurrent.CountDownLatch;
54 static final CountDownLatch lock = new CountDownLatch(1);

Completed in 768 milliseconds

123