RFR: JDK-8264572 reinsert common pool parallelism assignment

Doug Lea dl at openjdk.java.net
Fri Apr 2 14:03:28 UTC 2021

On Fri, 2 Apr 2021 13:20:44 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> This reinserts setting common pool parallelism inadvertently clobbered in JDK-8259800
> This looks okay to me, I just wonder if we should have a test to the value of getCommonPoolParallelism.

We once had a test, but now that Runtime.availableProcessors (the only means of checking) can return varying values, we can't include in tck  tests. The error here wasn't caught  because we didn't run the usual performance tests (that catch these problems immediately) because I was focused only on JDK-8259800. Sorry.


PR: https://git.openjdk.java.net/jdk/pull/3324

More information about the core-libs-dev mailing list