Tests VarHandle methods which take effect of load load fence.
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 117044 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 76757 | 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 | 1304369 | 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 | 9433 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 2636 | 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 | 1559941 | 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 | 25126 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 11435 | 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 | 502309 | 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 | 42039 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 15424 | 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 | 1433537 | 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 | 7479 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 2313 | 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 | 415398 | 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 | 75534 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 50400 | 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 | 2510436 | 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 | 48851 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 19154 | 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 | 2980945 | 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 | 16588 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 17457 | 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 | 26565 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |