org.openjdk.jcstress.tests.atomicity.varHandles.fields.WeakCASContendStrongTest.WeakCompareAndSetReleaseString

Tests weakCompareAndSet contend with strong compareAndSet.

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

Observed state Occurrence Expectation Interpretation
false, false, null 0 FORBIDDEN not both shall fail
false, true, 2 366644 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, object 421066 ACCEPTABLE actor2 execute after actor1
true, true, 2 0 FORBIDDEN not both shall succeed
true, true, object 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, null 0 FORBIDDEN not both shall fail
false, true, 2 332608 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, object 416812 ACCEPTABLE actor2 execute after actor1
true, true, 2 0 FORBIDDEN not both shall succeed
true, true, object 0 FORBIDDEN not both shall succeed

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

Observed state Occurrence Expectation Interpretation
false, false, null 0 FORBIDDEN not both shall fail
false, true, 2 506365 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, object 786745 ACCEPTABLE actor2 execute after actor1
true, true, 2 0 FORBIDDEN not both shall succeed
true, true, object 0 FORBIDDEN not both shall succeed

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

Observed state Occurrence Expectation Interpretation
false, false, null 0 FORBIDDEN not both shall fail
false, true, 2 56094 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, object 11806 ACCEPTABLE actor2 execute after actor1
true, true, 2 0 FORBIDDEN not both shall succeed
true, true, object 0 FORBIDDEN not both shall succeed

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

Observed state Occurrence Expectation Interpretation
false, false, null 0 FORBIDDEN not both shall fail
false, true, 2 211990 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, object 279620 ACCEPTABLE actor2 execute after actor1
true, true, 2 0 FORBIDDEN not both shall succeed
true, true, object 0 FORBIDDEN not both shall succeed

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

Observed state Occurrence Expectation Interpretation
false, false, null 0 FORBIDDEN not both shall fail
false, true, 2 304361 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, object 367189 ACCEPTABLE actor2 execute after actor1
true, true, 2 0 FORBIDDEN not both shall succeed
true, true, object 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, null 0 FORBIDDEN not both shall fail
false, true, 2 147194 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, object 97916 ACCEPTABLE actor2 execute after actor1
true, true, 2 0 FORBIDDEN not both shall succeed
true, true, object 0 FORBIDDEN not both shall succeed

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

Observed state Occurrence Expectation Interpretation
false, false, null 0 FORBIDDEN not both shall fail
false, true, 2 478256 ACCEPTABLE actor2 execute before actor1 or win the contention with actor1
true, false, object 1152104 ACCEPTABLE actor2 execute after actor1
true, true, 2 0 FORBIDDEN not both shall succeed
true, true, object 0 FORBIDDEN not both shall succeed