1 |
|
/* |
2 |
|
* Written by Doug Lea with assistance from members of JCP JSR-166 |
3 |
|
* Expert Group and released to the public domain, as explained at |
4 |
< |
* http://creativecommons.org/licenses/publicdomain |
4 |
> |
* http://creativecommons.org/publicdomain/zero/1.0/ |
5 |
|
*/ |
6 |
|
|
7 |
|
import jsr166y.*; |
13 |
|
static final Random rng = new Random(); |
14 |
|
static final long NPS = (1000L * 1000 * 1000); |
15 |
|
|
16 |
< |
public static void main(String[] args) throws Exception { |
17 |
< |
int n = 1 << 20; |
16 |
> |
public static void main (String[] args) throws Exception { |
17 |
> |
int n = 1 << 22; |
18 |
|
int sreps = 4; |
19 |
|
int reps = 20; |
20 |
|
Long[] a = new Long[n]; |