Tests VarHandle methods which take effect of store store fence.
JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 2314302 | 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 | 310 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 1768 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 1159202 | 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 | 34270 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 130018 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 34184 | 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 | 245 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 66821 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 424476 | 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 | 3662 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 16502 | 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 | 1374329 | 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 | 47584 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 74837 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 2085573 | 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 | 2584 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 6253 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 1788857 | 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 | 21751 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 409232 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 774251 | 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 | 10451 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 20368 | ACCEPTABLE | actor2 observe the variables before actor1 update |