Home | History | Annotate | Download | only in jsr166

Lines Matching defs:THREADS

455      * multiple threads active
458 final int THREADS = 3;
460 final ThreadPoolExecutor p = new CustomExecutor(THREADS);
462 final CountDownLatch threadsStarted = new CountDownLatch(THREADS);
464 for (int i = 0; i < THREADS; i++)
469 assertEquals(THREADS, p.getLargestPoolSize());
472 assertEquals(THREADS, p.getLargestPoolSize());
474 assertEquals(THREADS, p.getLargestPoolSize());
478 * getPoolSize increases, but doesn't overestimate, when threads
814 // Strategy: Wedge the pool with poolSize "blocker" threads
858 // Release all pool threads