org.openjdk.jcstress.tests.atomicity.varHandles.byteBuffer.heap.little.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 314010 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 604940 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 300194 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 686396 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 90936 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 1199434 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 609095 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 995815 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 199932 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 363218 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 331846 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 533024 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 149430 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 437250 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 100 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 28410 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