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, false | 858 | ACCEPTABLE | both may fail |
false, true, true | 140578 | ACCEPTABLE | actor2 update successfully |
true, false, true | 543524 | 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 | 63143 | ACCEPTABLE | actor2 update successfully |
true, false, true | 17877 | 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 | 12 | ACCEPTABLE | both may fail |
false, true, true | 115279 | ACCEPTABLE | actor2 update successfully |
true, false, true | 489299 | 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 | 548 | ACCEPTABLE | both may fail |
false, true, true | 111086 | ACCEPTABLE | actor2 update successfully |
true, false, true | 633696 | ACCEPTABLE | actor1 update successfully |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
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 | 385335 | ACCEPTABLE | actor2 update successfully |
true, false, true | 642575 | 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 | 832 | ACCEPTABLE | both may fail |
false, true, true | 74595 | ACCEPTABLE | actor2 update successfully |
true, false, true | 581423 | 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 | 152 | ACCEPTABLE | both may fail |
false, true, true | 65766 | ACCEPTABLE | actor2 update successfully |
true, false, true | 215962 | 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 | 204 | ACCEPTABLE | both may fail |
false, true, true | 100716 | ACCEPTABLE | actor2 update successfully |
true, false, true | 715580 | ACCEPTABLE | actor1 update successfully |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 0 | FORBIDDEN | not both shall succeed |