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, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 1.39067116124321E-309, 2.0 | 179291 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 1.39067116124321E-309 | 105529 | ACCEPTABLE | actor1 execute after actor2 |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 1.39067116124321E-309, 2.0 | 947500 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 1.39067116124321E-309 | 70380 | 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, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 1.39067116124321E-309, 2.0 | 500254 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 1.39067116124321E-309 | 9676 | ACCEPTABLE | actor1 execute after actor2 |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 1.39067116124321E-309, 2.0 | 845434 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 1.39067116124321E-309 | 86556 | ACCEPTABLE | actor1 execute after actor2 |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 1.39067116124321E-309, 2.0 | 643073 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 1.39067116124321E-309 | 189617 | ACCEPTABLE | actor1 execute after actor2 |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 1.39067116124321E-309, 2.0 | 527260 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 1.39067116124321E-309 | 45760 | ACCEPTABLE | actor1 execute after actor2 |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 1.39067116124321E-309, 2.0 | 1488352 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 1.39067116124321E-309 | 95418 | ACCEPTABLE | actor1 execute after actor2 |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0, 1.39067116124321E-309 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 0.0, 2.0 | 0 | FORBIDDEN | This won't happen because getAndSet is atomic |
0.0, 1.39067116124321E-309, 2.0 | 12169 | ACCEPTABLE | actor1 execute before actor2 |
2.0, 0.0, 1.39067116124321E-309 | 501 | ACCEPTABLE | actor1 execute after actor2 |