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, .* | 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 | 66224 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 112246 | 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 | 12867 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 12223 | 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 | 124426 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 186074 | 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 | 115675 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 155765 | 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 | 107215 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 252935 | ACCEPTABLE | T1 -> T2 execution |
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 | 50376 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 52644 | 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 | 2995 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 2675 | 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 | 51525 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 47725 | ACCEPTABLE | T1 -> T2 execution |