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 | 97309 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 615011 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 1994 | ACCEPTABLE | both may fail |
false, true, 2.0 | 282943 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 424473 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 4023 | ACCEPTABLE | both may fail |
false, true, 2.0 | 69770 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 452677 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 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 | 87 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 20163 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 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 | 11640 | ACCEPTABLE | both may fail |
false, true, 2.0 | 119117 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 487073 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 23953 | ACCEPTABLE | both may fail |
false, true, 2.0 | 306893 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 1769894 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 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 | 14874 | ACCEPTABLE | both may fail |
false, true, 2.0 | 112068 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 544848 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 54011 | ACCEPTABLE | both may fail |
false, true, 2.0 | 165365 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 720624 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |