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

Tests pairwise operations on AtomicInteger

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

Observed state Occurrence Expectation Interpretation
0, 10 207766 ACCEPTABLE T1 -> T2 execution
20, 20 405124 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 516508 ACCEPTABLE T1 -> T2 execution
20, 20 200012 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 240027 ACCEPTABLE T1 -> T2 execution
20, 20 455973 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 42814 ACCEPTABLE T1 -> T2 execution
20, 20 53896 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 275763 ACCEPTABLE T1 -> T2 execution
20, 20 293727 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 75964 ACCEPTABLE T1 -> T2 execution
20, 20 114356 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 116111 ACCEPTABLE T1 -> T2 execution
20, 20 120229 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 10 3986 ACCEPTABLE T1 -> T2 execution
20, 20 118094 ACCEPTABLE T2 -> T1 execution