Tests atomicity of weakCompareAndSet.
JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0 | 565 | ACCEPTABLE | both may fail |
false, true, -2 | 239294 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 1599981 | ACCEPTABLE | actor1 update successfully |
true, true, -1 | 0 | FORBIDDEN | not both shall succeed |
true, true, -2 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0 | 0 | ACCEPTABLE | both may fail |
false, true, -2 | 121956 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 302454 | ACCEPTABLE | actor1 update successfully |
true, true, -1 | 0 | FORBIDDEN | not both shall succeed |
true, true, -2 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0 | 12 | ACCEPTABLE | both may fail |
false, true, -2 | 123866 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 244462 | ACCEPTABLE | actor1 update successfully |
true, true, -1 | 0 | FORBIDDEN | not both shall succeed |
true, true, -2 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0 | 1877 | ACCEPTABLE | both may fail |
false, true, -2 | 383679 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 1357064 | ACCEPTABLE | actor1 update successfully |
true, true, -1 | 0 | FORBIDDEN | not both shall succeed |
true, true, -2 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0 | 718 | ACCEPTABLE | both may fail |
false, true, -2 | 170812 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 708640 | ACCEPTABLE | actor1 update successfully |
true, true, -1 | 0 | FORBIDDEN | not both shall succeed |
true, true, -2 | 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 | 1670 | ACCEPTABLE | both may fail |
false, true, -2 | 405395 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 1116485 | ACCEPTABLE | actor1 update successfully |
true, true, -1 | 0 | FORBIDDEN | not both shall succeed |
true, true, -2 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0 | 0 | ACCEPTABLE | both may fail |
false, true, -2 | 64005 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 29215 | ACCEPTABLE | actor1 update successfully |
true, true, -1 | 0 | FORBIDDEN | not both shall succeed |
true, true, -2 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0 | 1617 | ACCEPTABLE | both may fail |
false, true, -2 | 157910 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 1249833 | ACCEPTABLE | actor1 update successfully |
true, true, -1 | 0 | FORBIDDEN | not both shall succeed |
true, true, -2 | 0 | FORBIDDEN | not both shall succeed |