线程池

2023-06-07

ThreadPoolExecutor

如果可用CPU核心数为N,建议将corePoolSize设置为N+1,maximumPoolSize设置为2N+1;