Tests atomicity of weakCompareAndSet.
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 | 194807 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 972673 | 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 | 42 | ACCEPTABLE | both may fail |
false, true, 2.0 | 17708 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 619610 | 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 | 223 | ACCEPTABLE | both may fail |
false, true, 2.0 | 59924 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 537973 | 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 | 559 | ACCEPTABLE | both may fail |
false, true, 2.0 | 164120 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 1446531 | 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 | 388222 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 1913472 | 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 | 406 | ACCEPTABLE | both may fail |
false, true, 2.0 | 42557 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 389037 | 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 | 62 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 45928 | 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 | 123 | ACCEPTABLE | both may fail |
false, true, 2.0 | 71303 | ACCEPTABLE | actor2 update successfully |
true, false, 1.39067116124321E-309 | 1139044 | 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 |