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

Tests pairwise operations on AtomicInteger

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

Observed state Occurrence Expectation Interpretation
0, 5 361316 ACCEPTABLE T1 -> T2 execution
10, 0 239544 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 361213 ACCEPTABLE T1 -> T2 execution
10, 0 127157 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 75828 ACCEPTABLE T1 -> T2 execution
10, 0 65022 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, 5 294289 ACCEPTABLE T1 -> T2 execution
10, 0 69371 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 220696 ACCEPTABLE T1 -> T2 execution
10, 0 108724 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 311579 ACCEPTABLE T1 -> T2 execution
10, 0 49091 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 328750 ACCEPTABLE T1 -> T2 execution
10, 0 24050 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 269495 ACCEPTABLE T1 -> T2 execution
10, 0 110335 ACCEPTABLE T2 -> T1 execution