[concurrency-interest] Q: 8071326: ThreadPoolExecutor in endless thread creation loop if workQueue.take() throws RuntimeException
Doug Lea
dl at cs.oswego.edu
Fri Jan 30 13:44:14 UTC 2015
On 01/29/2015 04:38 AM, Peter Levart wrote:
> *
> * <p>If hook or callback methods throw exceptions, internal worker
> * threads may in turn fail and abruptly terminate.</dd>
>
>
> The last paragraph could explicitly spell-out what are the "callback" methods.
> That would be enough, I think.
Good idea; thanks. Changed to:
! * <p>If hook, callback, or BlockingQueue methods throw exceptions,
! * internal worker threads may in turn fail, abruptly terminate, and
! * possibly be replaced.</dd>
-Doug
More information about the core-libs-dev
mailing list