org.openjdk.jcstress.tests.atomicity.varHandles.arrays.WeakCASContendStrongTest.WeakCompareAndSetFloat

Tests weakCompareAndSet contend with strong compareAndSet.

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 63 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 87687 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 336939 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 713731 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 196507 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 349553 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 383995 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 1167005 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 335779 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 1128681 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 993938 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 1528372 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] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false, 0.0 0 FORBIDDEN not both shall fail
false, true, 2.0 526160 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 894620 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 353988 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 1729642 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