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

Tests the mutual exclusion

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

Observed state Occurrence Expectation Interpretation
-1, 1 61925 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 1578 ACCEPTABLE T2 -> T1 execution
1, 0 97067 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 47413 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 2923 ACCEPTABLE T2 -> T1 execution
1, 0 163164 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 208847 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 1608 ACCEPTABLE T2 -> T1 execution
1, 0 281445 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 60507 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 2055 ACCEPTABLE T2 -> T1 execution
1, 0 76188 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 695 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 45 ACCEPTABLE T2 -> T1 execution
1, 0 2610 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 51689 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 6178 ACCEPTABLE T2 -> T1 execution
1, 0 92443 ACCEPTABLE T1 -> T2 execution

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

Observed state Occurrence Expectation Interpretation
-1, 1 98819 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 471 ACCEPTABLE T2 -> T1 execution
1, 0 354320 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 5962 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 592 ACCEPTABLE T2 -> T1 execution
1, 0 45626 ACCEPTABLE T1 -> T2 execution