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

Tests atomicity of weakCompareAndSet.

JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false, 0.0 411 ACCEPTABLE both may fail
false, true, 2.0 86804 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 276875 ACCEPTABLE actor1 update successfully
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 207 ACCEPTABLE both may fail
false, true, 2.0 64807 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 174346 ACCEPTABLE actor1 update successfully
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 385 ACCEPTABLE both may fail
false, true, 2.0 142373 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 401692 ACCEPTABLE actor1 update successfully
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 543 ACCEPTABLE both may fail
false, true, 2.0 173140 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 533687 ACCEPTABLE actor1 update successfully
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 ACCEPTABLE both may fail
false, true, 2.0 11339 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 484231 ACCEPTABLE actor1 update successfully
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 2 ACCEPTABLE both may fail
false, true, 2.0 7291 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 55577 ACCEPTABLE actor1 update successfully
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 311 ACCEPTABLE both may fail
false, true, 2.0 82386 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 326263 ACCEPTABLE actor1 update successfully
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 ACCEPTABLE both may fail
false, true, 2.0 65 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 20855 ACCEPTABLE actor1 update successfully
true, true, 2.0 0 FORBIDDEN not both shall succeed
true, true, 2.3509528E-38 0 FORBIDDEN not both shall succeed