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

Tests pairwise operations on AtomicLong

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

Observed state Occurrence Expectation Interpretation
10, 0 13335 ACCEPTABLE T2 -> T1 execution
5, 5 70195 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
10, 0 51406 ACCEPTABLE T2 -> T1 execution
5, 5 360194 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
10, 0 128378 ACCEPTABLE T2 -> T1 execution
5, 5 468072 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
10, 0 191221 ACCEPTABLE T2 -> T1 execution
5, 5 542909 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
10, 0 104639 ACCEPTABLE T2 -> T1 execution
5, 5 461791 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
10, 0 105841 ACCEPTABLE T2 -> T1 execution
5, 5 88409 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
10, 0 31498 ACCEPTABLE T2 -> T1 execution
5, 5 37782 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
10, 0 63725 ACCEPTABLE T2 -> T1 execution
5, 5 216035 ACCEPTABLE T1 -> T2 execution