Tests VarHandle methods which take effect of store store fence.
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
null, null | 42696 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 21009 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
object, null | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
object, object | 527315 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
null, null | 69978 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 33574 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
object, null | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
object, object | 1356208 | 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 |
---|---|---|---|
null, null | 2599 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 1515 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
object, null | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
object, object | 1662786 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
null, null | 238609 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 19406 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
object, null | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
object, object | 1594055 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
null, null | 30200 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 18365 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
object, null | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
object, object | 560365 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
null, null | 66136 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 30818 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
object, null | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
object, object | 1474486 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
null, null | 8973 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 2767 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
object, null | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
object, object | 2428990 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
null, null | 8355 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 9371 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
object, null | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
object, object | 40794 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |