Tests atomicity of weakCompareAndSet.
JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 49557 | ACCEPTABLE | both may fail |
false, true, 2.0 | 366136 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 869597 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 6316 | ACCEPTABLE | both may fail |
false, true, 2.0 | 205249 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 699515 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 9385 | ACCEPTABLE | both may fail |
false, true, 2.0 | 246104 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 928671 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 416 | ACCEPTABLE | both may fail |
false, true, 2.0 | 93752 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 338272 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | ACCEPTABLE | both may fail |
false, true, 2.0 | 56 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 26324 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 42450 | ACCEPTABLE | both may fail |
false, true, 2.0 | 143981 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 249739 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | ACCEPTABLE | both may fail |
false, true, 2.0 | 201810 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 1223810 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 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.0 | 37346 | ACCEPTABLE | both may fail |
false, true, 2.0 | 181062 | ACCEPTABLE | actor2 update successfully |
true, false, 2.3509528E-38 | 340092 | ACCEPTABLE | actor1 update successfully |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.3509528E-38 | 0 | FORBIDDEN | not both shall succeed |