Tests atomicity of compareAndSet.
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 | 259005 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 119685 | ACCEPTABLE | actor1 update successfully |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 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 | 210576 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 1023484 | ACCEPTABLE | actor1 update successfully |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 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 | 46890 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 259230 | ACCEPTABLE | actor1 update successfully |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 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 | 147054 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 648946 | ACCEPTABLE | actor1 update successfully |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
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 | 266485 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 757735 | ACCEPTABLE | actor1 update successfully |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 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 | 54 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 41676 | ACCEPTABLE | actor1 update successfully |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 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 | 141353 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 389917 | ACCEPTABLE | actor1 update successfully |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 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 | 140518 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 567182 | ACCEPTABLE | actor1 update successfully |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |