org.openjdk.jcstress.tests.atomics.longs.AtomicLongPairwiseTests.AddAndGet_CAS

Tests pairwise operations on AtomicLong

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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