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

Tests the mutual exclusion

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 52188 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 144442 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 6790 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 18030 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 55373 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 141617 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 8014 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 16246 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 4503 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 397 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 4747 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 16453 ACCEPTABLE T1 -> T2 execution

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 14426 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 25284 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 20379 ACCEPTABLE T2 -> T1 execution
1, -1 0 ACCEPTABLE One of the threads fails to acquire the lock. Other thread had succeeded.
1, 0 37011 ACCEPTABLE T1 -> T2 execution