Tests atomicity of compareAndExchange.
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, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 2.3509528E-38, 2.3509528E-38 | 766771 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 142719 | ACCEPTABLE | actor2 update successfully |
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, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 2.3509528E-38, 2.3509528E-38 | 244863 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 82177 | 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, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 2.3509528E-38, 2.3509528E-38 | 657246 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 48384 | 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, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 2.3509528E-38, 2.3509528E-38 | 107509 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 107081 | 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, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 2.3509528E-38, 2.3509528E-38 | 814770 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 280570 | 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, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 2.3509528E-38, 2.3509528E-38 | 322212 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 101348 | 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, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 2.3509528E-38, 2.3509528E-38 | 35270 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 10 | 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, 2.0 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because compareAndExchange is atomic |
0.0, 2.3509528E-38, 2.3509528E-38 | 627991 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 456739 | ACCEPTABLE | actor2 update successfully |