org.openjdk.jcstress.tests.atomics.longs.AtomicLongFieldUpdaterPairwiseTests.WCAS_WCAS

Tests pairwise operations on AtomicLongFieldUpdater

JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
1, 10 0 ACCEPTABLE_SPEC T1 and T2 both spuriously failed
1, 20 18861 ACCEPTABLE T2 -> T1 execution
5, 10 37339 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
1, 10 0 ACCEPTABLE_SPEC T1 and T2 both spuriously failed
1, 20 108484 ACCEPTABLE T2 -> T1 execution
5, 10 139096 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
1, 10 0 ACCEPTABLE_SPEC T1 and T2 both spuriously failed
1, 20 33813 ACCEPTABLE T2 -> T1 execution
5, 10 231257 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
1, 10 0 ACCEPTABLE_SPEC T1 and T2 both spuriously failed
1, 20 61728 ACCEPTABLE T2 -> T1 execution
5, 10 198692 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
1, 10 0 ACCEPTABLE_SPEC T1 and T2 both spuriously failed
1, 20 115077 ACCEPTABLE T2 -> T1 execution
5, 10 234493 ACCEPTABLE T1 -> T2 execution

JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
1, 10 0 ACCEPTABLE_SPEC T1 and T2 both spuriously failed
1, 20 74686 ACCEPTABLE T2 -> T1 execution
5, 10 257524 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
1, 10 0 ACCEPTABLE_SPEC T1 and T2 both spuriously failed
1, 20 5590 ACCEPTABLE T2 -> T1 execution
5, 10 11960 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
1, 10 0 ACCEPTABLE_SPEC T1 and T2 both spuriously failed
1, 20 8758 ACCEPTABLE T2 -> T1 execution
5, 10 85402 ACCEPTABLE T1 -> T2 execution