# | Line 10 | Line 10 | import java.util.concurrent.ExecutorServ | |
---|---|---|
10 | import java.util.concurrent.Phaser; | |
11 | ||
12 | public class LongAdderLoops { | |
13 | < | static final int ITERS = 10000000; |
13 | > | static final int ITERS = 100_000_000; |
14 | static final int NCPU = Runtime.getRuntime().availableProcessors(); | |
15 | static final int MAX_THREADS = NCPU * 2; | |
16 | – | static final long NPS = (1000L * 1000 * 1000); |
16 | ||
17 | static final ExecutorService pool = Executors.newCachedThreadPool(); | |
18 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |