获取最佳线程池线程大小

Runtime.getRuntime().availableProcessors()
原文地址:https://www.cnblogs.com/lishuaiqi/p/9820759.html