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

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 37370 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 107540 ACCEPTABLE actor2 execute after actor1
true, true, 2.0 0 FORBIDDEN not both shall succeed
true, true, 2.3509528E-38 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 23 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 32167 ACCEPTABLE actor2 execute after actor1
true, true, 2.0 0 FORBIDDEN not both shall succeed
true, true, 2.3509528E-38 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 242748 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 595622 ACCEPTABLE actor2 execute after actor1
true, true, 2.0 0 FORBIDDEN not both shall succeed
true, true, 2.3509528E-38 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 34908 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 1002622 ACCEPTABLE actor2 execute after actor1
true, true, 2.0 0 FORBIDDEN not both shall succeed
true, true, 2.3509528E-38 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 314780 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 522630 ACCEPTABLE actor2 execute after actor1
true, true, 2.0 0 FORBIDDEN not both shall succeed
true, true, 2.3509528E-38 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 373942 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 685128 ACCEPTABLE actor2 execute after actor1
true, true, 2.0 0 FORBIDDEN not both shall succeed
true, true, 2.3509528E-38 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 124995 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 271915 ACCEPTABLE actor2 execute after actor1
true, true, 2.0 0 FORBIDDEN not both shall succeed
true, true, 2.3509528E-38 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 104004 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 268076 ACCEPTABLE actor2 execute after actor1
true, true, 2.0 0 FORBIDDEN not both shall succeed
true, true, 2.3509528E-38 0 FORBIDDEN not both shall succeed