org.openjdk.jcstress.tests.atomicity.varHandles.byteArray.big.WeakCASContendStrongTest.WeakCompareAndSetPlainDouble

Tests weakCompareAndSet contend with strong compareAndSet.

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 374296 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 673134 ACCEPTABLE actor2 execute after actor1
true, true, 1.39067116124321E-309 0 FORBIDDEN not both shall succeed
true, true, 2.0 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 469007 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 997563 ACCEPTABLE actor2 execute after actor1
true, true, 1.39067116124321E-309 0 FORBIDDEN not both shall succeed
true, true, 2.0 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 11 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 47629 ACCEPTABLE actor2 execute after actor1
true, true, 1.39067116124321E-309 0 FORBIDDEN not both shall succeed
true, true, 2.0 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 122644 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 746156 ACCEPTABLE actor2 execute after actor1
true, true, 1.39067116124321E-309 0 FORBIDDEN not both shall succeed
true, true, 2.0 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 187232 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 304518 ACCEPTABLE actor2 execute after actor1
true, true, 1.39067116124321E-309 0 FORBIDDEN not both shall succeed
true, true, 2.0 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 460604 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 938606 ACCEPTABLE actor2 execute after actor1
true, true, 1.39067116124321E-309 0 FORBIDDEN not both shall succeed
true, true, 2.0 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 19906 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 108154 ACCEPTABLE actor2 execute after actor1
true, true, 1.39067116124321E-309 0 FORBIDDEN not both shall succeed
true, true, 2.0 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 380548 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, 1.39067116124321E-309 703902 ACCEPTABLE actor2 execute after actor1
true, true, 1.39067116124321E-309 0 FORBIDDEN not both shall succeed
true, true, 2.0 0 FORBIDDEN not both shall succeed