1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-25 02:27:10 +08:00

Update java-thread-pool-summary.md

This commit is contained in:
guide 2022-02-18 20:37:16 +08:00
parent 7f6139859f
commit 74a376acd3

View File

@ -392,7 +392,7 @@ pool-1-thread-2 End. Time = Sun Apr 12 11:14:47 CST 2020
return false;
for (;;) {
//获取线程池中线程的数量
//获取线程池中工作的线程的数量
int wc = workerCountOf(c);
// core参数为true的话表明队列也满了线程池大小变为 maximumPoolSize
if (wc >= CAPACITY ||