org.openjdk.jcstress.tests.locks.mutex.ReentrantLockMutexTests.S_N.TLt_TLt

Tests the mutual exclusion

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

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

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

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

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

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

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

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

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

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

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

Observed state Occurrence Expectation Interpretation
-1, .* 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
.*, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
0, 1 77058 ACCEPTABLE T2 -> T1 execution
1, 0 150452 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, .* 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
.*, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
0, 1 222407 ACCEPTABLE T2 -> T1 execution
1, 0 234373 ACCEPTABLE T1 -> T2 execution

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

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