7 |
|
import java.util.*; |
8 |
|
import java.util.concurrent.ThreadLocalRandom; |
9 |
|
import java.util.concurrent.atomic.AtomicLong; |
10 |
+ |
import java.util.concurrent.atomic.AtomicInteger; |
11 |
|
import java.util.concurrent.atomic.AtomicReference; |
12 |
|
|
13 |
|
public class ThreadLocalRandomTest extends JSR166TestCase { |
37 |
|
// max sampled long bound |
38 |
|
static final long MAX_LONG_BOUND = (1L << 42); |
39 |
|
|
40 |
+ |
// Number of replications for other checks |
41 |
+ |
static final int REPS = 20; |
42 |
+ |
|
43 |
|
/** |
44 |
|
* setSeed throws UnsupportedOperationException |
45 |
|
*/ |