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

Tests pairwise operations on AtomicInteger

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

Observed state Occurrence Expectation Interpretation
25, 20 76354 ACCEPTABLE T2 -> T1 execution
5, 10 7346 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
25, 20 360298 ACCEPTABLE T2 -> T1 execution
5, 10 111782 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
25, 20 376828 ACCEPTABLE T2 -> T1 execution
5, 10 145502 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
25, 20 152419 ACCEPTABLE T2 -> T1 execution
5, 10 263261 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
25, 20 202766 ACCEPTABLE T2 -> T1 execution
5, 10 215644 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
25, 20 204701 ACCEPTABLE T2 -> T1 execution
5, 10 174329 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
25, 20 368494 ACCEPTABLE T2 -> T1 execution
5, 10 207656 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
25, 20 206855 ACCEPTABLE T2 -> T1 execution
5, 10 609725 ACCEPTABLE T1 -> T2 execution