Runtime.getRuntime().availableProcessors()
System.setProperty(“java.util.concurrent.ForkJoinPool.common.parallelism”, “갯수”);