# | Line 1024 | Line 1024 | public class ThreadPoolExecutor extends | |
---|---|---|
1024 | * This method is called from the three places in which | |
1025 | * termination can occur: in workerDone on exit of the last thread | |
1026 | * after pool has been shut down, or directly within calls to | |
1027 | < | * shutdown or shutdownNow, if there are no live thread., |
1027 | > | * shutdown or shutdownNow, if there are no live threads. |
1028 | */ | |
1029 | private void tryTerminate() { | |
1030 | if (poolSize == 0) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |