Tests VarHandle methods which take effect of store store fence.
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 2262025 | 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 | 3567 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 8488 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 3071774 | 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 | 2714 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 2632 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 1423959 | 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 | 23112 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 70509 | 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 | 2060944 | 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 | 14430 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 32266 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 1709878 | 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 | 42961 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 65111 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 54358 | 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 | 6425 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 7607 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 967621 | 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 | 54120 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 129719 | 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 | 935260 | 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 | 46640 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 88110 | ACCEPTABLE | actor2 observe the variables before actor1 update |