# | Line 2161 | Line 2161 | public class ForkJoinPool extends Abstra | |
---|---|---|
2161 | WorkQueue[] ws; WorkQueue w; // check external submissions | |
2162 | if ((ws = workQueues) != null) { | |
2163 | for (int i = 0; i < ws.length; ++i) { | |
2164 | < | if ((w = ws[i]) != null && !w.isEmpty()) { |
2164 | > | if ((w = ws[i]) != null && |
2165 | > | (!w.isEmpty() || |
2166 | > | ((i & 1) != 0 && w.scanState >= 0))) { |
2167 | signalWork(ws, w); | |
2168 | return false; | |
2169 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |