Tests weakCompareAndSet contend with strong compareAndSet.
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, false | 0 | FORBIDDEN | not both shall fail |
false, true, true | 245691 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, true | 873369 | ACCEPTABLE | actor2 execute after actor1 |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, false | 0 | FORBIDDEN | not both shall fail |
false, true, true | 33818 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, true | 16802 | ACCEPTABLE | actor2 execute after actor1 |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, false | 0 | FORBIDDEN | not both shall fail |
false, true, true | 256404 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, true | 1052116 | ACCEPTABLE | actor2 execute after actor1 |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 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, false | 0 | FORBIDDEN | not both shall fail |
false, true, true | 70550 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, true | 536150 | ACCEPTABLE | actor2 execute after actor1 |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, false | 0 | FORBIDDEN | not both shall fail |
false, true, true | 154897 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, true | 774993 | ACCEPTABLE | actor2 execute after actor1 |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, false | 0 | FORBIDDEN | not both shall fail |
false, true, true | 51253 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, true | 120047 | ACCEPTABLE | actor2 execute after actor1 |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false, false | 0 | FORBIDDEN | not both shall fail |
false, true, true | 477675 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, true | 673795 | ACCEPTABLE | actor2 execute after actor1 |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 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, false | 0 | FORBIDDEN | not both shall fail |
false, true, true | 810119 | ACCEPTABLE | actor2 execute before actor1 or win the contention with actor1 |
true, false, true | 1289811 | ACCEPTABLE | actor2 execute after actor1 |
true, true, true | 0 | FORBIDDEN | not both shall succeed |
true, true, true | 0 | FORBIDDEN | not both shall succeed |