org.openjdk.jcstress.tests.atomics.longs.AtomicLongPairwiseTests.GetAndSet_CAS

Tests pairwise operations on AtomicLong

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

Observed state Occurrence Expectation Interpretation
0, 10 87059 ACCEPTABLE T1 -> T2 execution
20, 20 170561 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 205770 ACCEPTABLE T1 -> T2 execution
20, 20 87150 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 126488 ACCEPTABLE T1 -> T2 execution
20, 20 241082 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 206977 ACCEPTABLE T1 -> T2 execution
20, 20 213743 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 179247 ACCEPTABLE T1 -> T2 execution
20, 20 119283 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 300225 ACCEPTABLE T1 -> T2 execution
20, 20 288045 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 2190 ACCEPTABLE T1 -> T2 execution
20, 20 94840 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 285490 ACCEPTABLE T1 -> T2 execution
20, 20 216250 ACCEPTABLE T2 -> T1 execution