# | Line 795 | Line 795 | public class ForkJoinPool extends Abstra | |
---|---|---|
795 | else if (w.eventCount != v) | |
796 | return true; // update next time | |
797 | } | |
798 | < | if ((int)c != 0 && parallelism + (int)(nc >> AC_SHIFT) == 0 && |
798 | > | if ((!shutdown || !tryTerminate(false)) && |
799 | > | (int)c != 0 && parallelism + (int)(nc >> AC_SHIFT) == 0 && |
800 | blockedCount == 0 && quiescerCount == 0) | |
801 | idleAwaitWork(w, nc, c, v); // quiescent | |
802 | for (boolean rescanned = false;;) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |