# | Line 641 | Line 641 | public class ThreadPoolExecutorTest exte | |
---|---|---|
641 | new ThreadPoolExecutor(poolSize, poolSize, | |
642 | LONG_DELAY_MS, MILLISECONDS, | |
643 | new ArrayBlockingQueue<Runnable>(10)); | |
644 | < | CountDownLatch threadsStarted = new CountDownLatch(poolSize); |
644 | > | final CountDownLatch threadsStarted = new CountDownLatch(poolSize); |
645 | Runnable waiter = new CheckedRunnable() { public void realRun() { | |
646 | threadsStarted.countDown(); | |
647 | try { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |