org.openjdk.jcstress.tests.locks.mutex.ReentrantRWLockMutexTests.S_N.L_TLt

Tests the mutual exclusion

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

Observed state Occurrence Expectation Interpretation
-1, 1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
0, 1 3750 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 611290 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
0, 1 69739 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 190581 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
0, 1 66889 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 309381 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
0, 1 22211 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 76849 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
0, 1 52217 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 220643 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
0, 1 512 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 20178 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
0, 1 71451 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 342079 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
0, 1 9821 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 57099 ACCEPTABLE T1 -> T2 execution