Tests if StampedLock successfully guards against non-atomic read/writes.
JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 50310 | ACCEPTABLE | Seeing the default values. |
1, 2 | 395130 | ACCEPTABLE | Seeing the complete update. |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 284322 | ACCEPTABLE | Seeing the default values. |
1, 2 | 174458 | ACCEPTABLE | Seeing the complete update. |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 14070 | ACCEPTABLE | Seeing the default values. |
1, 2 | 326890 | ACCEPTABLE | Seeing the complete update. |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 119093 | ACCEPTABLE | Seeing the default values. |
1, 2 | 73447 | ACCEPTABLE | Seeing the complete update. |
JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 93324 | ACCEPTABLE | Seeing the default values. |
1, 2 | 100116 | ACCEPTABLE | Seeing the complete update. |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 111796 | ACCEPTABLE | Seeing the default values. |
1, 2 | 75364 | ACCEPTABLE | Seeing the complete update. |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 43218 | ACCEPTABLE | Seeing the default values. |
1, 2 | 23972 | ACCEPTABLE | Seeing the complete update. |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0, 0 | 170691 | ACCEPTABLE | Seeing the default values. |
1, 2 | 117049 | ACCEPTABLE | Seeing the complete update. |