Benjamin Habegger created OAK-12054:
---------------------------------------

             Summary: Fix creation of ThreadPoolExecutors using an unbounded 
LinkedBlockingQueue
                 Key: OAK-12054
                 URL: https://issues.apache.org/jira/browse/OAK-12054
             Project: Jackrabbit Oak
          Issue Type: Bug
            Reporter: Benjamin Habegger


In different places in the code ThreadPoolExecutors are used with a unbounded 
LinkedBlockingQueue but at the same time set different corePoolSize and 
maximumPoolSize. However, as per the javadoc, in case of unbounded queues, 
maximumPoolSize is ignored in that case.

Therefore, given the code, one could wrongly expect the number of threads to 
grow in case of load, which will not be the case.

The objective of this ticket is to identify those usages and make it clear what 
will happen and runtime. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to