# | Line 451 | Line 451 | public class ThreadPoolExecutor extends | |
---|---|---|
451 | private final HashSet<Worker> workers = new HashSet<>(); | |
452 | ||
453 | /** | |
454 | < | * Wait condition to support awaitTermination |
454 | > | * Wait condition to support awaitTermination. |
455 | */ | |
456 | private final Condition termination = mainLock.newCondition(); | |
457 | ||
# | Line 527 | Line 527 | public class ThreadPoolExecutor extends | |
527 | private volatile int maximumPoolSize; | |
528 | ||
529 | /** | |
530 | < | * The default rejected execution handler |
530 | > | * The default rejected execution handler. |
531 | */ | |
532 | private static final RejectedExecutionHandler defaultHandler = | |
533 | new AbortPolicy(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |