Tests VarHandle methods which take effect of store store fence.
JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 906223 | 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 | 33108 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 58359 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 1416524 | 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 | 34962 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 73584 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 2670220 | 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 | 29814 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 87346 | 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 | 866486 | 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 | 13360 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 47364 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 2186675 | 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 | 5753 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 15162 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 719111 | 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 | 31263 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 58826 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 89015 | 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 | 19000 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 25255 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 1254806 | 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 | 1574 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
0, 0 | 2970 | ACCEPTABLE | actor2 observe the variables before actor1 update |