Tests if Unsafe.getAndAddLong is racy
JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 329011 | ACCEPTABLE | T2 -> T1 execution |
0, 4398046511104 | 8560 | ACCEPTABLE | T2 reads the result early |
1, 4398046511104 | 392339 | ACCEPTABLE | T1 -> T2 execution |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 503319 | ACCEPTABLE | T2 -> T1 execution |
0, 4398046511104 | 13564 | ACCEPTABLE | T2 reads the result early |
1, 4398046511104 | 529357 | ACCEPTABLE | T1 -> T2 execution |
JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 1252573 | ACCEPTABLE | T2 -> T1 execution |
0, 4398046511104 | 43356 | ACCEPTABLE | T2 reads the result early |
1, 4398046511104 | 883961 | ACCEPTABLE | T1 -> T2 execution |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 597878 | ACCEPTABLE | T2 -> T1 execution |
0, 4398046511104 | 11793 | ACCEPTABLE | T2 reads the result early |
1, 4398046511104 | 487359 | ACCEPTABLE | T1 -> T2 execution |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 990726 | ACCEPTABLE | T2 -> T1 execution |
0, 4398046511104 | 8903 | ACCEPTABLE | T2 reads the result early |
1, 4398046511104 | 169341 | ACCEPTABLE | T1 -> T2 execution |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 1056856 | ACCEPTABLE | T2 -> T1 execution |
0, 4398046511104 | 38915 | ACCEPTABLE | T2 reads the result early |
1, 4398046511104 | 1117679 | ACCEPTABLE | T1 -> T2 execution |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 75091 | ACCEPTABLE | T2 -> T1 execution |
0, 4398046511104 | 2032 | ACCEPTABLE | T2 reads the result early |
1, 4398046511104 | 667 | ACCEPTABLE | T1 -> T2 execution |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 752836 | ACCEPTABLE | T2 -> T1 execution |
0, 4398046511104 | 36171 | ACCEPTABLE | T2 reads the result early |
1, 4398046511104 | 414303 | ACCEPTABLE | T1 -> T2 execution |