org.openjdk.jcstress.tests.atomics.integer.AtomicIntegerPairwiseTests.GetAndAdd_GetAndAdd

Tests pairwise operations on AtomicInteger

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

Observed state Occurrence Expectation Interpretation
0, 5 587765 ACCEPTABLE T1 -> T2 execution
5, 0 66405 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 547412 ACCEPTABLE T1 -> T2 execution
5, 0 164238 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 52956 ACCEPTABLE T1 -> T2 execution
5, 0 81294 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 512895 ACCEPTABLE T1 -> T2 execution
5, 0 182895 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 346424 ACCEPTABLE T1 -> T2 execution
5, 0 210276 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 562305 ACCEPTABLE T1 -> T2 execution
5, 0 219075 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 365068 ACCEPTABLE T1 -> T2 execution
5, 0 51612 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 367905 ACCEPTABLE T1 -> T2 execution
5, 0 97945 ACCEPTABLE T2 -> T1 execution