Tests atomicity of getAndSet.
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-2, 0, -1 | 37019 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 91171 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0, 0, -2 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-2, 0, -1 | 124869 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 352601 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0, 0, -2 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-2, 0, -1 | 88366 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 372344 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0, 0, -2 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-2, 0, -1 | 73606 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 562454 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0, 0, -2 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-2, 0, -1 | 90949 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 870081 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0, 0, -2 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-2, 0, -1 | 76804 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 801606 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0, 0, -2 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-2, 0, -1 | 247079 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 811131 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0, 0, -2 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-2, 0, -1 | 48116 | ACCEPTABLE | actor1 execute after actor2 |
0, -1, -2 | 27004 | ACCEPTABLE | actor1 execute before actor2 |
0, 0, -1 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0, 0, -2 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |