Searched refs:goLatch (Results 1 - 1 of 1) sorted by relevance

/openjdk9/jdk/test/java/lang/annotation/AnnotationType/
H A DAnnotationTypeDeadlockTest.java54 final AtomicInteger goLatch; field in class:AnnotationTypeDeadlockTest.Task
57 Task(CountDownLatch prepareLatch, AtomicInteger goLatch, Class<?> clazz) { argument
61 this.goLatch = goLatch;
68 while (goLatch.get() > 0); // spin-wait before go
75 AtomicInteger goLatch = new AtomicInteger(1);
76 Task taskA = new Task(prepareLatch, goLatch, AnnA.class);
77 Task taskB = new Task(prepareLatch, goLatch, AnnB.class);
83 goLatch.set(0);

Completed in 91 milliseconds