Tests atomicity of weakCompareAndSet.
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, null | 2207 | ACCEPTABLE | both may fail |
false, true, 2 | 209135 | ACCEPTABLE | actor2 update successfully |
true, false, object | 634348 | ACCEPTABLE | actor1 update successfully |
true, true, 2 | 0 | FORBIDDEN | not both shall succeed |
true, true, object | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, null | 0 | ACCEPTABLE | both may fail |
false, true, 2 | 20142 | ACCEPTABLE | actor2 update successfully |
true, false, object | 39428 | ACCEPTABLE | actor1 update successfully |
true, true, 2 | 0 | FORBIDDEN | not both shall succeed |
true, true, object | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, null | 245 | ACCEPTABLE | both may fail |
false, true, 2 | 76022 | ACCEPTABLE | actor2 update successfully |
true, false, object | 344123 | ACCEPTABLE | actor1 update successfully |
true, true, 2 | 0 | FORBIDDEN | not both shall succeed |
true, true, object | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, null | 4228 | ACCEPTABLE | both may fail |
false, true, 2 | 259051 | ACCEPTABLE | actor2 update successfully |
true, false, object | 503741 | ACCEPTABLE | actor1 update successfully |
true, true, 2 | 0 | FORBIDDEN | not both shall succeed |
true, true, object | 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, null | 949 | ACCEPTABLE | both may fail |
false, true, 2 | 281169 | ACCEPTABLE | actor2 update successfully |
true, false, object | 486972 | ACCEPTABLE | actor1 update successfully |
true, true, 2 | 0 | FORBIDDEN | not both shall succeed |
true, true, object | 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, null | 4675 | ACCEPTABLE | both may fail |
false, true, 2 | 386384 | ACCEPTABLE | actor2 update successfully |
true, false, object | 385131 | ACCEPTABLE | actor1 update successfully |
true, true, 2 | 0 | FORBIDDEN | not both shall succeed |
true, true, object | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, null | 0 | ACCEPTABLE | both may fail |
false, true, 2 | 751741 | ACCEPTABLE | actor2 update successfully |
true, false, object | 1106729 | ACCEPTABLE | actor1 update successfully |
true, true, 2 | 0 | FORBIDDEN | not both shall succeed |
true, true, object | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, null | 430 | ACCEPTABLE | both may fail |
false, true, 2 | 137279 | ACCEPTABLE | actor2 update successfully |
true, false, object | 616221 | ACCEPTABLE | actor1 update successfully |
true, true, 2 | 0 | FORBIDDEN | not both shall succeed |
true, true, object | 0 | FORBIDDEN | not both shall succeed |