Q: 8071326: ThreadPoolExecutor in endless thread creation loop if workQueue.take() throws RuntimeException

Martin Buchholz martinrb at google.com
Tue Jan 27 20:31:23 UTC 2015


On Tue, Jan 27, 2015 at 7:43 AM, Lev Priima <lev.priima at oracle.com> wrote:

> And these thread will be cleaned only when whole TPE finished.
>
>
Is this really true?  Each thread should be replaced while running and so
the total number of threads retained by the TPE at any one time should be
no more than core pool size.



More information about the core-libs-dev mailing list