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 | 1206026 | 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 | 37713 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 118861 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 973964 | 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 | 8044 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 5052 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 2637343 | 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 | 4755 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 612 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 392908 | 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 | 3533 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 6349 | 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 | 1561110 | 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 | 5403 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 13607 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 91063 | 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 | 7624 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 8353 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 937025 | 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 | 79329 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 180016 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 306966 | 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 | 10534 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 23770 | ACCEPTABLE | actor2 observe the variables before actor1 update |