Tests atomicity of compareAndSet.
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 94003 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 204027 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 52 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 49008 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 212380 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 917170 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 231754 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 942076 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 166760 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 856510 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 115489 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 946061 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 419069 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 1306511 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 110017 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 496543 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |