Tests atomicity of weakCompareAndSet.
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 | 213003 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 683667 | 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 | 976 | ACCEPTABLE | both may fail |
false, true, -2 | 368347 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 471567 | 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 | 2700 | ACCEPTABLE | both may fail |
false, true, -2 | 576343 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 1134527 | 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 | 2795 | ACCEPTABLE | both may fail |
false, true, -2 | 569189 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 818136 | 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 | 1340 | ACCEPTABLE | both may fail |
false, true, -2 | 162012 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 819908 | 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 | 1600 | ACCEPTABLE | both may fail |
false, true, -2 | 249717 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 600853 | 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 | 26369 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 73471 | 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 | 2205 | ACCEPTABLE | both may fail |
false, true, -2 | 224337 | ACCEPTABLE | actor2 update successfully |
true, false, -1 | 602728 | ACCEPTABLE | actor1 update successfully |
true, true, -1 | 0 | FORBIDDEN | not both shall succeed |
true, true, -2 | 0 | FORBIDDEN | not both shall succeed |