摘要: 1,CachedThreadPool 核心线程数为0,最大线程数不限制(最大Integer.MaxValue),内部采用synchrouousQueue 。首先会调用queue的offer方法提交任务,如果有空闲线程则调用poll方法移除线程,交给空闲线程处理,如果没有则创建一个线程,调用poll方 阅读全文
posted @ 2020-09-17 16:50 梦飞翔up 阅读(139) 评论(0) 推荐(0) 编辑