Tests atomicity of weakCompareAndSet.
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, | 806 | ACCEPTABLE | both may fail |
false, true, C | 108487 | ACCEPTABLE | actor2 update successfully |
true, false, A | 606137 | ACCEPTABLE | actor1 update successfully |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, | 0 | ACCEPTABLE | both may fail |
false, true, C | 5401 | ACCEPTABLE | actor2 update successfully |
true, false, A | 32319 | ACCEPTABLE | actor1 update successfully |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 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, | 1675 | ACCEPTABLE | both may fail |
false, true, C | 178278 | ACCEPTABLE | actor2 update successfully |
true, false, A | 705697 | ACCEPTABLE | actor1 update successfully |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, | 470 | ACCEPTABLE | both may fail |
false, true, C | 73805 | ACCEPTABLE | actor2 update successfully |
true, false, A | 731255 | ACCEPTABLE | actor1 update successfully |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, | 539 | ACCEPTABLE | both may fail |
false, true, C | 69325 | ACCEPTABLE | actor2 update successfully |
true, false, A | 1422186 | ACCEPTABLE | actor1 update successfully |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, | 0 | ACCEPTABLE | both may fail |
false, true, C | 420540 | ACCEPTABLE | actor2 update successfully |
true, false, A | 651380 | ACCEPTABLE | actor1 update successfully |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, | 32 | ACCEPTABLE | both may fail |
false, true, C | 41249 | ACCEPTABLE | actor2 update successfully |
true, false, A | 101629 | ACCEPTABLE | actor1 update successfully |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 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, | 694 | ACCEPTABLE | both may fail |
false, true, C | 182265 | ACCEPTABLE | actor2 update successfully |
true, false, A | 657071 | ACCEPTABLE | actor1 update successfully |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 0 | FORBIDDEN | not both shall succeed |