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

null

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

Observed state Occurrence Expectation Interpretation
-1, 1 42712 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, -1 29232 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, 1 430036 ACCEPTABLE Both threads have acquired the write lock, and were quick enough to convert them to the read locks.

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

Observed state Occurrence Expectation Interpretation
-1, 1 61673 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, -1 37459 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, 1 530498 ACCEPTABLE Both threads have acquired the write lock, and were quick enough to convert them to the read locks.

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

Observed state Occurrence Expectation Interpretation
-1, 1 79754 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, -1 37643 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, 1 281233 ACCEPTABLE Both threads have acquired the write lock, and were quick enough to convert them to the read locks.

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

Observed state Occurrence Expectation Interpretation
-1, 1 34538 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, -1 26228 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, 1 288654 ACCEPTABLE Both threads have acquired the write lock, and were quick enough to convert them to the read locks.

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

Observed state Occurrence Expectation Interpretation
-1, 1 21844 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, -1 19880 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, 1 173486 ACCEPTABLE Both threads have acquired the write lock, and were quick enough to convert them to the read locks.

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

Observed state Occurrence Expectation Interpretation
-1, 1 36838 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, -1 46160 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, 1 499842 ACCEPTABLE Both threads have acquired the write lock, and were quick enough to convert them to the read locks.

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

Observed state Occurrence Expectation Interpretation
-1, 1 15242 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, -1 15018 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, 1 330 ACCEPTABLE Both threads have acquired the write lock, and were quick enough to convert them to the read locks.

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

Observed state Occurrence Expectation Interpretation
-1, 1 42294 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, -1 33119 ACCEPTABLE One of the threads had successfully acquired the write lock, and converted it to optimistic. Another thread had failed to acquire write lock, letting first thread to transit to read.
1, 1 560777 ACCEPTABLE Both threads have acquired the write lock, and were quick enough to convert them to the read locks.