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

Tests the mutual exclusion

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

Observed state Occurrence Expectation Interpretation
-1, 1 108524 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 9394 ACCEPTABLE T2 -> T1 execution
1, 0 261192 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 63306 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 1538 ACCEPTABLE T2 -> T1 execution
1, 0 107036 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 2841 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 34 ACCEPTABLE T2 -> T1 execution
1, 0 10445 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 94039 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 9871 ACCEPTABLE T2 -> T1 execution
1, 0 122490 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 197940 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 7179 ACCEPTABLE T2 -> T1 execution
1, 0 385051 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 130513 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 234 ACCEPTABLE T2 -> T1 execution
1, 0 444313 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 154010 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 12492 ACCEPTABLE T2 -> T1 execution
1, 0 242308 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 77068 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 6976 ACCEPTABLE T2 -> T1 execution
1, 0 326376 ACCEPTABLE T1 -> T2 execution