org.openjdk.jcstress.tests.atomics.integer.AtomicIntegerFieldUpdaterPairwiseTests.GetAndAdd_WCAS

Tests pairwise operations on AtomicIntegerArray

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

Observed state Occurrence Expectation Interpretation
0, 10 119517 ACCEPTABLE T1 -> T2 execution
20, 20 44833 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 132701 ACCEPTABLE T1 -> T2 execution
20, 20 81029 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 1384 ACCEPTABLE T1 -> T2 execution
20, 20 25246 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 49339 ACCEPTABLE T1 -> T2 execution
20, 20 17341 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 135886 ACCEPTABLE T1 -> T2 execution
20, 20 80394 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 111110 ACCEPTABLE T1 -> T2 execution
20, 20 172190 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 260659 ACCEPTABLE T1 -> T2 execution
20, 20 49691 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 290398 ACCEPTABLE T1 -> T2 execution
20, 20 143682 ACCEPTABLE T2 -> T1 execution