Tests atomicity of compareAndExchange.
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 | 371414 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 166426 | 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 | 285278 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 126262 | 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 | 135776 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 35974 | 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 | 89153 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 3677 | 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 | 273781 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 61929 | 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 | 11823 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 117 | 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 | 190736 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 127744 | 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 | 100540 | ACCEPTABLE | actor1 update successfully |
2.0, 0.0, 2.0 | 19520 | ACCEPTABLE | actor2 update successfully |