JDK-8264572: ForkJoinPool.getCommonPoolParallelism() reports always 1 #3324
This reinserts setting common pool parallelism inadvertently clobbered in JDK-8259800
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.
@DougLea This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 18 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
@DougLea Since your change was applied there have been 18 commits pushed to the
Your commit was automatically rebased without conflicts.
Pushed as commit cec66cf.