Tests VarHandle methods which take effect of store store fence.
JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 12592 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 5164 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 1247134 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 7773 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 5697 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 39240 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 16654 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 14535 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 712251 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 12855 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 2207 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 934618 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 11694 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 7237 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 1928529 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 60296 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 36674 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 1338980 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 1816 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 1408 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 1592826 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 1745 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 320 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 1613215 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |