Tests VarHandle methods which take effect of store store fence.
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 2993932 | 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 | 2475 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 4943 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 562897 | 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 | 1464 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 1319 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 3203727 | 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 | 17510 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 30273 | 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 | 1042771 | 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 | 45330 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 112699 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 54107 | 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 | 6093 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 74380 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 604435 | 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 | 21897 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 60578 | ACCEPTABLE | actor2 observe the variables before actor1 update |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
-1, -1 | 987742 | 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 | 53159 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 68709 | 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 | 744625 | 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 | 420 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
0, 0 | 1185 | ACCEPTABLE | actor2 observe the variables before actor1 update |