As you read, accessible number of processors available to the JVM () is a method that returns number of processors available to the JVM . 4 indicates the number of processors currently available for the JVM.
These lines return number of logical cores on Windows and other operating systems.
On a computer with a quad-core Core i7 with support for Hyper-Threading, it will return 8 .
On a computer with a quad Q6700, this method will return 4 .
AlphaMale
source share