Tests weakCompareAndSet contend with strong compareAndSet.
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 | 34 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 31886 | 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 | 287909 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 601731 | 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 | 176244 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 611266 | 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 | 29100 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 245780 | 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 | 38380 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 800990 | 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] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, 0.0 | 0 | FORBIDDEN | not both shall fail |
false, true, 2.0 | 80310 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 195900 | 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 | 165544 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 317936 | 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 | 357627 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, 1.39067116124321E-309 | 625723 | 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 |