org.openjdk.jcstress.tests.atomicity.varHandles.byteBuffer.heap.big.WeakCASContendStrongTest.WeakCompareAndSetReleaseInt

Tests weakCompareAndSet contend with strong compareAndSet.

JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false, 0 0 FORBIDDEN not both shall fail
false, true, -2 211808 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, -1 304202 ACCEPTABLE actor2 execute after actor1
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 0 FORBIDDEN not both shall succeed

JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false, 0 0 FORBIDDEN not both shall fail
false, true, -2 643164 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, -1 773366 ACCEPTABLE actor2 execute after actor1
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 0 FORBIDDEN not both shall succeed

JVM options: [-Xint] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false, 0 0 FORBIDDEN not both shall fail
false, true, -2 36291 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, -1 6319 ACCEPTABLE actor2 execute after actor1
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 0 FORBIDDEN not both shall succeed

JVM options: [-server] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false, 0 0 FORBIDDEN not both shall fail
false, true, -2 72811 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, -1 100249 ACCEPTABLE actor2 execute after actor1
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 0 FORBIDDEN not both shall succeed

JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false, 0 0 FORBIDDEN not both shall fail
false, true, -2 361715 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, -1 387955 ACCEPTABLE actor2 execute after actor1
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 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 FORBIDDEN not both shall fail
false, true, -2 276650 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, -1 254900 ACCEPTABLE actor2 execute after actor1
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 0 FORBIDDEN not both shall succeed

JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false, 0 0 FORBIDDEN not both shall fail
false, true, -2 321542 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, -1 979238 ACCEPTABLE actor2 execute after actor1
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 0 FORBIDDEN not both shall succeed

JVM options: [-client] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false, 0 0 FORBIDDEN not both shall fail
false, true, -2 134962 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, -1 160278 ACCEPTABLE actor2 execute after actor1
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 0 FORBIDDEN not both shall succeed