[concurrency-interest] some questions with ThreadPoolExecutor

freish freish at 163.com
Wed Aug 15 09:35:11 EDT 2012


the source code is from jdk1.6_0_26.


Sometimes we submit a set of tasks to the pool and don't use the pool any more and wait for the tasks finished,but if exception is thrown from some of the tasks,the pool size will decrease,this will case the tasks execute  in serial mode,and this will affect the concurrency,perhaps increase the program execution time.


there is no such problem in jdk1.7.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20120815/4182d4a4/attachment.html>


More information about the Concurrency-interest mailing list