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

Tests pairwise operations on AtomicInteger

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

Observed state Occurrence Expectation Interpretation
0, 10 98657 ACCEPTABLE T1 -> T2 execution
20, 20 121223 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 6895 ACCEPTABLE T1 -> T2 execution
20, 20 116425 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 82290 ACCEPTABLE T1 -> T2 execution
20, 20 57140 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 265138 ACCEPTABLE T1 -> T2 execution
20, 20 422212 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 151865 ACCEPTABLE T1 -> T2 execution
20, 20 171205 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 128652 ACCEPTABLE T1 -> T2 execution
20, 20 147808 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 591113 ACCEPTABLE T1 -> T2 execution
20, 20 214377 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 253498 ACCEPTABLE T1 -> T2 execution
20, 20 402842 ACCEPTABLE T2 -> T1 execution