Tests atomicity of getAndAdd.
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 0, -2 | 227790 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 292590 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndAdd is atomic |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 0, -2 | 17787 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 14793 | 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 | 104191 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 933099 | 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 | 99604 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 1033406 | 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 | 288170 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 612020 | 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 | 50221 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 272909 | 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 | 85089 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 310171 | 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 | 139817 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 641423 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndAdd is atomic |