RFR: 8274349: ForkJoinPool.commonPool() does not work with 1 CPU [v2]

David Holmes dholmes at openjdk.java.net
Fri Oct 1 05:10:17 UTC 2021


> A regression introduced in Java 17 will give the default FJ pool a parallelism of zero in a uniprocessor environment. The fix restores this to a value of 1. See bug report for details.
> 
> Testing:
>  - new regression test
>  - tiers 1-3
> 
> Thanks,
> David

David Holmes has updated the pull request incrementally with one additional commit since the last revision:

  Updated TCK test component from @martin

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5784/files
  - new: https://git.openjdk.java.net/jdk/pull/5784/files/7199b2b6..666f36f4

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5784&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5784&range=00-01

  Stats: 37 lines in 1 file changed: 34 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5784.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5784/head:pull/5784

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


More information about the core-libs-dev mailing list