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

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
0, 5 541418 ACCEPTABLE T1 -> T2 execution
5, 0 173082 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 534689 ACCEPTABLE T1 -> T2 execution
5, 0 211061 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 248394 ACCEPTABLE T1 -> T2 execution
5, 0 70856 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 179307 ACCEPTABLE T1 -> T2 execution
5, 0 45773 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 314789 ACCEPTABLE T1 -> T2 execution
5, 0 115451 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 401579 ACCEPTABLE T1 -> T2 execution
5, 0 198871 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 453421 ACCEPTABLE T1 -> T2 execution
5, 0 76809 ACCEPTABLE T2 -> T1 execution

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

Observed state Occurrence Expectation Interpretation
0, 5 25486 ACCEPTABLE T1 -> T2 execution
5, 0 29324 ACCEPTABLE T2 -> T1 execution