# | Line 26 | Line 26 | class PAS { | |
---|---|---|
26 | static ForkJoinPool defaultExecutor() { | |
27 | ForkJoinPool p = defaultExecutor; // double-check | |
28 | if (p == null) { | |
29 | < | synchronized(poolLock) { |
29 | > | synchronized (poolLock) { |
30 | p = defaultExecutor; | |
31 | if (p == null) { | |
32 | // use ceil(7/8 * ncpus) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |