Tests VarHandle methods which take effect of store store fence.
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
null, null | 56290 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 5797 | 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 | 198273 | 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 | 4818 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 4417 | 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 | 1419135 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
null, null | 57846 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 15009 | 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 | 1602475 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
null, null | 51144 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 29985 | 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 | 2127011 | 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 | 29650 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 4758 | 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 | 342252 | 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 | 120725 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 18130 | 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 | 976735 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
null, null | 88499 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 11279 | 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 | 2024102 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
null, null | 21976 | ACCEPTABLE | actor2 observe the variables before actor1 update |
null, object | 16706 | 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 | 42948 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |