1、java.lang.Runtime.getRuntime().availableProcessors()
Returns the number of processors available to the Java virtual machine;返回JVM上可用的CPU个数
1、java.lang.Runtime.getRuntime().availableProcessors()
Returns the number of processors available to the Java virtual machine;返回JVM上可用的CPU个数