Tests weakCompareAndSet contend with strong compareAndSet.
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, | 0 | FORBIDDEN | not both shall fail |
false, true, C | 270934 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, A | 1365856 | ACCEPTABLE | actor2 execute after actor1 |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, | 0 | FORBIDDEN | not both shall fail |
false, true, C | 105220 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, A | 433640 | ACCEPTABLE | actor2 execute after actor1 |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 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 | FORBIDDEN | not both shall fail |
false, true, C | 338977 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, A | 811643 | ACCEPTABLE | actor2 execute after actor1 |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, | 0 | FORBIDDEN | not both shall fail |
false, true, C | 302997 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, A | 1117673 | ACCEPTABLE | actor2 execute after actor1 |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, | 0 | FORBIDDEN | not both shall fail |
false, true, C | 183398 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, A | 1177482 | ACCEPTABLE | actor2 execute after actor1 |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, | 0 | FORBIDDEN | not both shall fail |
false, true, C | 272666 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, A | 393844 | ACCEPTABLE | actor2 execute after actor1 |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, | 0 | FORBIDDEN | not both shall fail |
false, true, C | 69684 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, A | 10876 | ACCEPTABLE | actor2 execute after actor1 |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 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 | FORBIDDEN | not both shall fail |
false, true, C | 77912 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, A | 333698 | ACCEPTABLE | actor2 execute after actor1 |
true, true, A | 0 | FORBIDDEN | not both shall succeed |
true, true, C | 0 | FORBIDDEN | not both shall succeed |