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

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 0 FORBIDDEN not both shall fail
false, true, 2.0 228161 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 409539 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 101997 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 260803 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 315789 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 468811 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 41883 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 749127 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 150367 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 277423 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 65091 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 105349 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 76 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 11564 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 415073 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 607647 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