Tests atomicity of weakCompareAndSet.
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 45 | ACCEPTABLE | both may fail |
false, true, 2.0 | 129556 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 372159 | 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 | ACCEPTABLE | both may fail |
false, true, 2.0 | 28049 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 860201 | 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 | 406 | ACCEPTABLE | both may fail |
false, true, 2.0 | 148566 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 1023808 | 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 | 146 | ACCEPTABLE | both may fail |
false, true, 2.0 | 209020 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 519984 | 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 | 51 | ACCEPTABLE | both may fail |
false, true, 2.0 | 92267 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 357282 | 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 | 66 | ACCEPTABLE | both may fail |
false, true, 2.0 | 154605 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 364199 | 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 | ACCEPTABLE | both may fail |
false, true, 2.0 | 12 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 31098 | 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 | 72 | ACCEPTABLE | both may fail |
false, true, 2.0 | 59733 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 602155 | 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 |