Tests atomicity of compareAndExchange.
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 | 691969 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 183321 | 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 | 132889 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 29831 | 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 | 46491 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 29 | 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 | 1051053 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 254127 | 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 | 489482 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 140078 | 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 | 696003 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 125747 | 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 | 745487 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 229343 | 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 | 795880 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 94970 | ACCEPTABLE | actor2 update successfully |