Tests atomicity of compareAndExchange.
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 | 379179 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 50071 | 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 | 18215 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 35 | 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 | 806001 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 65729 | 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 | 774810 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 184180 | 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 | 1037304 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 286206 | 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, 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 | 617568 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 73862 | 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 | 1106071 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 266209 | 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 | 756522 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 157768 | ACCEPTABLE | actor2 update successfully |