ForkJoinPool common pool only has one thread on java 17
Issue
Runtime.getRuntime().availableProcessors()returns multiple CPUs as we'd expect butForkJoinPool.commonPool().getParallelism()returns only 1. Shouldn't the common pool scale with processor count?
Environment
- OpenJDK 17
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.