org.openjdk.jcstress.tests.atomics.integer.AtomicIntegerArrayPairwiseTests.GetAndAdd_GetAndSet

Tests pairwise operations on AtomicIntegerArray

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

Observed state Occurrence Expectation Interpretation
0, 5 211991 ACCEPTABLE T1 -> T2 execution
10, 0 28349 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 283247 ACCEPTABLE T1 -> T2 execution
10, 0 57293 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 265244 ACCEPTABLE T1 -> T2 execution
10, 0 20146 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 73467 ACCEPTABLE T1 -> T2 execution
10, 0 36123 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 176821 ACCEPTABLE T1 -> T2 execution
10, 0 49349 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 83935 ACCEPTABLE T1 -> T2 execution
10, 0 13775 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 296414 ACCEPTABLE T1 -> T2 execution
10, 0 20296 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 41053 ACCEPTABLE T1 -> T2 execution
10, 0 32047 ACCEPTABLE T2 -> T1 execution