Tests atomicity of weakCompareAndSet.
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0 | 87899 | ACCEPTABLE | both may fail |
false, true, 2 | 512045 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 646226 | 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 | 49707 | ACCEPTABLE | both may fail |
false, true, 2 | 301693 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 408590 | 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 | 42877 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 38163 | 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 | 172128 | ACCEPTABLE | both may fail |
false, true, 2 | 752448 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 895304 | 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 | 97518 | ACCEPTABLE | both may fail |
false, true, 2 | 484749 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 597643 | 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 | 686987 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 1005233 | 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, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0 | 2291 | ACCEPTABLE | both may fail |
false, true, 2 | 66070 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 45109 | 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 | 118982 | ACCEPTABLE | both may fail |
false, true, 2 | 603229 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 610019 | ACCEPTABLE | actor1 update successfully |
true, true, -1 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2 | 0 | FORBIDDEN | not both shall succeed |