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 | 4466 | 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 | 11438 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 109796 | ACCEPTABLE | T1 -> T2 execution |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 1 | 9304 | 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 | 1770 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 371896 | ACCEPTABLE | T1 -> T2 execution |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 1 | 127 | 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 | 57 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 27716 | ACCEPTABLE | T1 -> T2 execution |
JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 1 | 2999 | 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 | 1166 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 217785 | ACCEPTABLE | T1 -> T2 execution |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 1 | 20375 | 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 | 13671 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 399624 | ACCEPTABLE | T1 -> T2 execution |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 1 | 5221 | 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 | 5375 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 291604 | ACCEPTABLE | T1 -> T2 execution |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 1 | 50 | 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 | 176 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 335354 | ACCEPTABLE | T1 -> T2 execution |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, 1 | 5305 | 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 | 9729 | ACCEPTABLE | T2 -> T1 execution |
1, 0 | 178436 | ACCEPTABLE | T1 -> T2 execution |