Tests VarHandle methods which take effect of load load fence.
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 11555 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 2414 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
2.3509528E-38, 2.3509528E-38 | 10521 | 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 | 39527 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 23317 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
2.3509528E-38, 2.3509528E-38 | 923256 | 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 | 27860 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 7527 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
2.3509528E-38, 2.3509528E-38 | 969993 | 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 | 10711 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 3791 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
2.3509528E-38, 2.3509528E-38 | 335488 | 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 | 37928 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 25873 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
2.3509528E-38, 2.3509528E-38 | 1266499 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 7144 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 2350 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
2.3509528E-38, 2.3509528E-38 | 1282926 | 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 | 2281 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 830 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
2.3509528E-38, 2.3509528E-38 | 1781629 | 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 | 25435 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 7031 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
2.3509528E-38, 2.3509528E-38 | 1886244 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |