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 |
---|---|---|---|
0.0, 0.0 | 92071 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 35395 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 1078134 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 3712 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 1450 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 1601638 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 35527 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 15629 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 2582884 | 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 |
---|---|---|---|
0.0, 0.0 | 6096 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 3361 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 875633 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 1020 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 6413 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 267447 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 80103 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 45863 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 1004664 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 20868 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 6104 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 39508 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 12601 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 2.3509528E-38 | 12044 | ACCEPTABLE | actor2 observe the variables after var is already updated but y hasn't yet |
2.3509528E-38, 0.0 | 0 | FORBIDDEN | y won't be observed to be updated before var is updated |
2.3509528E-38, 2.3509528E-38 | 1152765 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |