Tests atomicity of getAndAdd.
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 0, -2 | 23723 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 32417 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndAdd is atomic |
JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 0, -2 | 189828 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 327852 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndAdd is atomic |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 0, -2 | 170490 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 429730 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndAdd is atomic |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 0, -2 | 69087 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 270593 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndAdd is atomic |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 0, -2 | 504669 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 756701 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndAdd is atomic |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 0, -2 | 427783 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 704357 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndAdd is atomic |
JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 0, -2 | 161707 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 469403 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndAdd is atomic |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 0, -2 | 58546 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 862234 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndAdd is atomic |