Home | History | Annotate | Download | only in jsr166

Lines Matching defs:THREADS

260      * prestartAllCoreThreads starts all corePoolSize threads
399 * multiple threads active
402 final int THREADS = 3;
404 new CustomTPE(THREADS, THREADS,
407 final CountDownLatch threadsStarted = new CountDownLatch(THREADS);
411 for (int i = 0; i < THREADS; i++)
416 assertEquals(THREADS, p.getLargestPoolSize());
419 assertEquals(THREADS, p.getLargestPoolSize());
423 assertEquals(THREADS, p.getLargestPoolSize());
438 * getPoolSize increases, but doesn't overestimate, when threads
1716 * allowCoreThreadTimeOut(true) causes idle threads to time out
1746 * allowCoreThreadTimeOut(false) causes idle threads not to time out