Tests atomicity of weakCompareAndSet.
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, false | 0 | ACCEPTABLE | both may fail |
false, true, true | 495894 | ACCEPTABLE | actor2 update successfully |
true, false, true | 824096 | ACCEPTABLE | actor1 update successfully |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, false | 8057 | ACCEPTABLE | both may fail |
false, true, true | 242596 | ACCEPTABLE | actor2 update successfully |
true, false, true | 772157 | ACCEPTABLE | actor1 update successfully |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, false | 71227 | ACCEPTABLE | both may fail |
false, true, true | 213875 | ACCEPTABLE | actor2 update successfully |
true, false, true | 606218 | ACCEPTABLE | actor1 update successfully |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, false | 30724 | ACCEPTABLE | both may fail |
false, true, true | 311978 | ACCEPTABLE | actor2 update successfully |
true, false, true | 873108 | ACCEPTABLE | actor1 update successfully |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, false | 0 | ACCEPTABLE | both may fail |
false, true, true | 42073 | ACCEPTABLE | actor2 update successfully |
true, false, true | 27847 | ACCEPTABLE | actor1 update successfully |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 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, false | 43148 | ACCEPTABLE | both may fail |
false, true, true | 113140 | ACCEPTABLE | actor2 update successfully |
true, false, true | 295612 | ACCEPTABLE | actor1 update successfully |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 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, false | 38866 | ACCEPTABLE | both may fail |
false, true, true | 370127 | ACCEPTABLE | actor2 update successfully |
true, false, true | 1055367 | ACCEPTABLE | actor1 update successfully |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, false | 46885 | ACCEPTABLE | both may fail |
false, true, true | 310527 | ACCEPTABLE | actor2 update successfully |
true, false, true | 917418 | ACCEPTABLE | actor1 update successfully |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 0 | FORBIDDEN | not both shall succeed |