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 | 87479 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 200641 | 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 | 75 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 27005 | 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, -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 | 82160 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 190120 | 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 | 26584 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 158186 | 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 | 70063 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 1244027 | 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 | 253640 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 547060 | 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 | 323314 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 781346 | 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 | 168606 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 468484 | 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 |