Tests atomicity of weakCompareAndSet.
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 54902 | ACCEPTABLE | both may fail |
false, true, 2.0 | 358455 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 872483 | 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 | 3131 | ACCEPTABLE | both may fail |
false, true, 2.0 | 35214 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 154905 | 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 | 34427 | ACCEPTABLE | both may fail |
false, true, 2.0 | 375070 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 810013 | 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 | 6709 | ACCEPTABLE | both may fail |
false, true, 2.0 | 6208 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 33803 | 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: [-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 | 47243 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 868027 | 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 | 1958 | ACCEPTABLE | both may fail |
false, true, 2.0 | 9940 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 103152 | 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 | 23621 | ACCEPTABLE | both may fail |
false, true, 2.0 | 222593 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 651556 | 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 | 32 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 29208 | 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 |