
newFixedThreadPool @Slf4j public class TheadPoolDemo { private static ThreadPoolExecutor threadPool = (ThreadPoolExecutor) Executors.newFixedThreadPool(10); public static void newFixedThreadPool() throws Exception { for (int i = 0; i < 2000000000; i+