Tests VarHandle methods which take effect of store store fence.
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 1317477 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
0, -1 | 1092 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 9891 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 2948940 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
0, -1 | 2594 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 1916 | 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 | 161579 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
0, -1 | 8554 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 22917 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 74915 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
0, -1 | 3578 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 3297 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 506659 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
0, -1 | 35749 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 77172 | 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 | 2206078 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
0, -1 | 2991 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 4201 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 3824259 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
0, -1 | 37923 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 119668 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 895182 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
-1, 0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
0, -1 | 25694 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 99134 | ACCEPTABLE | actor2 observe the variables before actor1 update |