org.openjdk.jcstress.tests.locks.stamped.StampedLockTransitionTests.OR_OW

null

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

Observed state Occurrence Expectation Interpretation
-1, 1 100831 ACCEPTABLE T1 had failed to acquire optimistic, because T2 had acquired the write lock.
0, 1 26707 ACCEPTABLE T1 had failed to convert optimistic to read, because T2 had acquired the write lock.
1, 0 264112 ACCEPTABLE T1 had converted optimistic to read, and T2 had failed to acquire the write lock.

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

Observed state Occurrence Expectation Interpretation
-1, 1 181260 ACCEPTABLE T1 had failed to acquire optimistic, because T2 had acquired the write lock.
0, 1 68658 ACCEPTABLE T1 had failed to convert optimistic to read, because T2 had acquired the write lock.
1, 0 332302 ACCEPTABLE T1 had converted optimistic to read, and T2 had failed to acquire the write lock.

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

Observed state Occurrence Expectation Interpretation
-1, 1 230824 ACCEPTABLE T1 had failed to acquire optimistic, because T2 had acquired the write lock.
0, 1 46822 ACCEPTABLE T1 had failed to convert optimistic to read, because T2 had acquired the write lock.
1, 0 42214 ACCEPTABLE T1 had converted optimistic to read, and T2 had failed to acquire the write lock.

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

Observed state Occurrence Expectation Interpretation
-1, 1 23 ACCEPTABLE T1 had failed to acquire optimistic, because T2 had acquired the write lock.
0, 1 6337 ACCEPTABLE T1 had failed to convert optimistic to read, because T2 had acquired the write lock.
1, 0 66030 ACCEPTABLE T1 had converted optimistic to read, and T2 had failed to acquire the write lock.

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

Observed state Occurrence Expectation Interpretation
-1, 1 121965 ACCEPTABLE T1 had failed to acquire optimistic, because T2 had acquired the write lock.
0, 1 35333 ACCEPTABLE T1 had failed to convert optimistic to read, because T2 had acquired the write lock.
1, 0 352242 ACCEPTABLE T1 had converted optimistic to read, and T2 had failed to acquire the write lock.

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

Observed state Occurrence Expectation Interpretation
-1, 1 140014 ACCEPTABLE T1 had failed to acquire optimistic, because T2 had acquired the write lock.
0, 1 75996 ACCEPTABLE T1 had failed to convert optimistic to read, because T2 had acquired the write lock.
1, 0 566590 ACCEPTABLE T1 had converted optimistic to read, and T2 had failed to acquire the write lock.

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

Observed state Occurrence Expectation Interpretation
-1, 1 155471 ACCEPTABLE T1 had failed to acquire optimistic, because T2 had acquired the write lock.
0, 1 47731 ACCEPTABLE T1 had failed to convert optimistic to read, because T2 had acquired the write lock.
1, 0 384798 ACCEPTABLE T1 had converted optimistic to read, and T2 had failed to acquire the write lock.

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

Observed state Occurrence Expectation Interpretation
-1, 1 103783 ACCEPTABLE T1 had failed to acquire optimistic, because T2 had acquired the write lock.
0, 1 22938 ACCEPTABLE T1 had failed to convert optimistic to read, because T2 had acquired the write lock.
1, 0 170109 ACCEPTABLE T1 had converted optimistic to read, and T2 had failed to acquire the write lock.