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, 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 | 981744 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 194426 | 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 | 684353 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 315247 | 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 | 749183 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 46677 | 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 | 926168 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 419382 | 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 | 698333 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 206687 | 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 | 226479 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 55881 | 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 | 27392 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 88 | 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, 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 | 160996 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 161794 | ACCEPTABLE | actor2 update successfully |