Tests weakCompareAndSet contend with strong compareAndSet.
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 111604 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 286196 | ACCEPTABLE | actor2 execute after actor1 |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 51 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 17449 | ACCEPTABLE | actor2 execute after actor1 |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 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.0 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 80415 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 321355 | ACCEPTABLE | actor2 execute after actor1 |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 53284 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 279626 | ACCEPTABLE | actor2 execute after actor1 |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 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 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 12884 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 153496 | ACCEPTABLE | actor2 execute after actor1 |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 25966 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 121104 | ACCEPTABLE | actor2 execute after actor1 |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 56369 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 156451 | ACCEPTABLE | actor2 execute after actor1 |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 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 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 83531 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 280309 | ACCEPTABLE | actor2 execute after actor1 |
true, true, 1.39067116124321E-309 | 0 | FORBIDDEN | not both shall succeed |
true, true, 2.0 | 0 | FORBIDDEN | not both shall succeed |