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

Tests atomicity of weakCompareAndSet.

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

Observed state Occurrence Expectation Interpretation
false, false, 0.0 174 ACCEPTABLE both may fail
false, true, 2.0 102869 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 270437 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 233 ACCEPTABLE both may fail
false, true, 2.0 54548 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 233719 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 333 ACCEPTABLE both may fail
false, true, 2.0 151817 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 374430 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 86 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 17194 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 48839 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 576281 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 54 ACCEPTABLE both may fail
false, true, 2.0 29303 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 139363 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 181 ACCEPTABLE both may fail
false, true, 2.0 58582 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 110637 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 183 ACCEPTABLE both may fail
false, true, 2.0 104476 ACCEPTABLE actor2 update successfully
true, false, 2.3509528E-38 298031 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