Tests atomicity of weakCompareAndSet.
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 53716 | ACCEPTABLE | both may fail |
false, true, 2.0 | 144361 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 672723 | 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 | 76161 | ACCEPTABLE | both may fail |
false, true, 2.0 | 388934 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 885935 | 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 | 65426 | ACCEPTABLE | both may fail |
false, true, 2.0 | 217224 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 847580 | 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 | 60 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 75180 | 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 | 91302 | ACCEPTABLE | both may fail |
false, true, 2.0 | 315873 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 1281085 | 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 | 77797 | ACCEPTABLE | both may fail |
false, true, 2.0 | 228710 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 1078183 | 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 | 36655 | ACCEPTABLE | both may fail |
false, true, 2.0 | 199131 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 654974 | 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 | 125115 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 1171965 | 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 |