org.openjdk.jcstress.tests.atomicity.varHandles.byteBuffer.direct.big.WeakCASContendStrongTest.WeakCompareAndSetPlainFloat

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 144904 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 415866 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 101974 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 334736 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 10 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 25210 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 134930 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 521690 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 17680 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 132020 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 22382 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 225648 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 41093 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 180077 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 49458 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 2.3509528E-38 187542 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