I have the following implementation
@Test
void concurrency() {
System.out.println("#cores : " + Runtime.getRuntime().availableProcessors());
System.out.println("#pool : " + ForkJoinPool.getCommonPoolParallelism());
}
Output
#cores : 8
#pool : 7
Why are these two numbers different?