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, 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 | 381446 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 10394 | 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 | 152305 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 98845 | 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 | 66771 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 69819 | 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 | 68985 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 8615 | 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 | 272739 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 133531 | 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 | 324570 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 49480 | 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 | 3481 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 2489 | 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 | 17605 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 65 | ACCEPTABLE | actor2 update successfully |