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 |
---|---|---|---|
false, false | 10952 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 2997 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
true, false | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
true, true | 132641 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false | 95374 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 29255 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
true, false | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
true, true | 2604411 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false | 3382 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 1474 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
true, false | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
true, true | 1912154 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false | 2814 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 589 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
true, false | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
true, true | 949947 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false | 6606 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 3885 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
true, false | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
true, true | 39259 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false | 24573 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 4295 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
true, false | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
true, true | 632672 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false | 72774 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 29664 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
true, false | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
true, true | 1206472 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false | 4167 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 2363 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
true, false | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
true, true | 670860 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |