org.openjdk.jcstress.tests.atomicity.varHandles.byteArray.big.WeakCASTest.WeakCompareAndSetReleaseLong

Tests atomicity of weakCompareAndSet.

JVM options: [-client] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false, 0 735 ACCEPTABLE both may fail
false, true, -2 99792 ACCEPTABLE actor2 update successfully
true, false, -1 575933 ACCEPTABLE actor1 update successfully
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 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 1792 ACCEPTABLE both may fail
false, true, -2 267823 ACCEPTABLE actor2 update successfully
true, false, -1 815225 ACCEPTABLE actor1 update successfully
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 0 FORBIDDEN not both shall succeed

JVM options: [-server] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false, 0 2127 ACCEPTABLE both may fail
false, true, -2 308515 ACCEPTABLE actor2 update successfully
true, false, -1 1134648 ACCEPTABLE actor1 update successfully
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 0 FORBIDDEN not both shall succeed

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

Observed state Occurrence Expectation Interpretation
false, false, 0 680 ACCEPTABLE both may fail
false, true, -2 113482 ACCEPTABLE actor2 update successfully
true, false, -1 396918 ACCEPTABLE actor1 update successfully
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 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 2091 ACCEPTABLE both may fail
false, true, -2 268813 ACCEPTABLE actor2 update successfully
true, false, -1 843956 ACCEPTABLE actor1 update successfully
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 0 FORBIDDEN not both shall succeed

JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false, 0 0 ACCEPTABLE both may fail
false, true, -2 360005 ACCEPTABLE actor2 update successfully
true, false, -1 1154315 ACCEPTABLE actor1 update successfully
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 0 FORBIDDEN not both shall succeed

JVM options: [-Xint] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false, 0 0 ACCEPTABLE both may fail
false, true, -2 19133 ACCEPTABLE actor2 update successfully
true, false, -1 22297 ACCEPTABLE actor1 update successfully
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 0 FORBIDDEN not both shall succeed

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

Observed state Occurrence Expectation Interpretation
false, false, 0 1724 ACCEPTABLE both may fail
false, true, -2 282363 ACCEPTABLE actor2 update successfully
true, false, -1 946393 ACCEPTABLE actor1 update successfully
true, true, -1 0 FORBIDDEN not both shall succeed
true, true, -2 0 FORBIDDEN not both shall succeed