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 | 22917 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 6368 | 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 | 34855 | 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 | 28128 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 3740 | 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 | 163612 | 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 | 46937 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 21614 | 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 | 826729 | 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 | 2912 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 1103 | 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 | 2364885 | 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 | 311658 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 21398 | 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 | 1597494 | 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 | 46558 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 16098 | 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 | 813694 | 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 | 998 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 446 | 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 | 2410886 | 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 | 4381 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 2403 | 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 | 1257276 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |