Tests atomicity of compareAndExchange.
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 0.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 1.39067116124321E-309, 1.39067116124321E-309 | 1076043 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 182297 | ACCEPTABLE | actor2 update successfully |
JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 0.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 1.39067116124321E-309, 1.39067116124321E-309 | 352007 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 19423 | ACCEPTABLE | actor2 update successfully |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 0.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 1.39067116124321E-309, 1.39067116124321E-309 | 734923 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 69767 | ACCEPTABLE | actor2 update successfully |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 0.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 1.39067116124321E-309, 1.39067116124321E-309 | 22381 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 9 | ACCEPTABLE | actor2 update successfully |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 0.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 1.39067116124321E-309, 1.39067116124321E-309 | 873924 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 189396 | ACCEPTABLE | actor2 update successfully |
JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 0.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 1.39067116124321E-309, 1.39067116124321E-309 | 423247 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 322313 | ACCEPTABLE | actor2 update successfully |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 0.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 1.39067116124321E-309, 1.39067116124321E-309 | 760945 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 238035 | ACCEPTABLE | actor2 update successfully |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 0.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 1.39067116124321E-309, 1.39067116124321E-309 | 234108 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 157712 | ACCEPTABLE | actor2 update successfully |