getAvailableCores

Returns the number of processors available to the JVM

This value may change during a particular invocation of the virtual machine. Applications that are sensitive to the number of available processors should therefore occasionally poll this property.

Return

The number of available processors