org.openjdk.jcstress.tests.atomicity.varHandles.byteBuffer.heap.little.WeakCASContendStrongTest.WeakCompareAndSetReleaseDouble

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 936753 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 597207 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 570052 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 708338 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 270514 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 394266 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 49 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 28011 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 1002486 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 1040424 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 66480 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 782370 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 446234 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 649736 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 499619 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 817641 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