69

小豹子带你看源码:Java 线程池(三)提交任务

 6 years ago
source link: https://juejin.im/post/5a7bd8b2f265da4e790ffa98
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
承上启下:上一篇文章小豹子讲了线程池的实例化过程,粗略介绍了线程池的状态转换;这篇文章主要讲了我运行线程池时遇到的小问题,以及 execute 方法的源码理解。 4 并不算疑难的 Bug 按照我们的规划,下一步就应该提交任务,探究线程池执行任务时的内部行为,

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK