Ted Yu ted_yu-/E1597aS9LQAvxtiuMwx3w@public.gmane.org [seajug]
2014-07-25 15:30:37 UTC
Hi,
The JDK ThreadPoolExecutor creates all the threads in the pool. As a consequence, we create (by default) 256 threads even if we just need a few.
Does anyone know of an ExecutorService which creates threads only if we have something in the queue ?
Thanks
The JDK ThreadPoolExecutor creates all the threads in the pool. As a consequence, we create (by default) 256 threads even if we just need a few.
Does anyone know of an ExecutorService which creates threads only if we have something in the queue ?
Thanks