Tests VarHandle methods which take effect of store store fence.
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false | 29369 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 13692 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
true, false | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
true, true | 478439 | 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 |
---|---|---|---|
false, false | 128672 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 66205 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
true, false | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
true, true | 666583 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false | 15514 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 3322 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
true, false | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
true, true | 612074 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false | 20209 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 14505 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
true, false | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
true, true | 77256 | 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 | 76261 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 24314 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
true, false | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
true, true | 1496505 | 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 | 7152 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 3500 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
true, false | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
true, true | 215448 | 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 | 8223 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 6084 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
true, false | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
true, true | 1525693 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
false, false | 43566 | ACCEPTABLE | actor2 observe the variables before actor1 update |
false, true | 34073 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
true, false | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
true, true | 894701 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |