Tests VarHandle methods which take effect of load load fence.
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 1079492 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
0, -1 | 89121 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 411747 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 706682 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
0, -1 | 2007 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 4341 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 1467044 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
0, -1 | 61592 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 228564 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 75596 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
0, -1 | 3333 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 4741 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 3114470 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
0, -1 | 82343 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 224887 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 2021952 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
0, -1 | 1466 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 4742 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 1211977 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
0, -1 | 56353 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 141660 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 1589801 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
0, -1 | 3250 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 8059 | ACCEPTABLE | actor2 observe the variables before actor1 update |