Tests atomicity of getAndSet.
JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 2.3509528E-38, 2.0 | 335452 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 2.3509528E-38 | 42128 | ACCEPTABLE | actor1 execute after actor2 |
JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 2.3509528E-38, 2.0 | 366300 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 2.3509528E-38 | 46260 | ACCEPTABLE | actor1 execute after actor2 |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 2.3509528E-38, 2.0 | 515305 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 2.3509528E-38 | 71385 | ACCEPTABLE | actor1 execute after actor2 |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 2.3509528E-38, 2.0 | 78567 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 2.3509528E-38 | 8663 | ACCEPTABLE | actor1 execute after actor2 |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 2.3509528E-38, 2.0 | 261866 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 2.3509528E-38 | 34144 | ACCEPTABLE | actor1 execute after actor2 |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 2.3509528E-38, 2.0 | 20243 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 2.3509528E-38 | 57 | ACCEPTABLE | actor1 execute after actor2 |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 2.3509528E-38, 2.0 | 365152 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 2.3509528E-38 | 67248 | ACCEPTABLE | actor1 execute after actor2 |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.3509528E-38 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 2.3509528E-38, 2.0 | 144666 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 2.3509528E-38 | 10944 | ACCEPTABLE | actor1 execute after actor2 |