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

Tests pairwise operations on AtomicInteger

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

Observed state Occurrence Expectation Interpretation
0, 10 242795 ACCEPTABLE T1 -> T2 execution
20, 20 404705 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 95897 ACCEPTABLE T1 -> T2 execution
20, 20 85513 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 364624 ACCEPTABLE T1 -> T2 execution
20, 20 126146 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 3714 ACCEPTABLE T1 -> T2 execution
20, 20 113426 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 289629 ACCEPTABLE T1 -> T2 execution
20, 20 46291 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 397754 ACCEPTABLE T1 -> T2 execution
20, 20 319126 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 203803 ACCEPTABLE T1 -> T2 execution
20, 20 253757 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 273789 ACCEPTABLE T1 -> T2 execution
20, 20 324741 ACCEPTABLE T2 -> T1 execution