Tests VarHandle methods which take effect of load store fence.
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 3858970 | ACCEPTABLE | load var in actor2 before store 2.3509528E-38 to var in actor1, all results are 0.0 |
0.0, 2.3509528E-38 | 0 | FORBIDDEN | this won't happen even if load x after store var because only if r1 = 2.3509528E-38 x may be assigned to 2.3509528E-38 and then r2 can be 2.3509528E-38 from x. |
2.3509528E-38, 0.0 | 449210 | ACCEPTABLE | store 2.3509528E-38 to var in actor1 before load var in actor2 |
2.3509528E-38, 2.3509528E-38 | 0 | FORBIDDEN | can't load x after store var in actor1. |
JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 471797 | ACCEPTABLE | load var in actor2 before store 2.3509528E-38 to var in actor1, all results are 0.0 |
0.0, 2.3509528E-38 | 0 | FORBIDDEN | this won't happen even if load x after store var because only if r1 = 2.3509528E-38 x may be assigned to 2.3509528E-38 and then r2 can be 2.3509528E-38 from x. |
2.3509528E-38, 0.0 | 207783 | ACCEPTABLE | store 2.3509528E-38 to var in actor1 before load var in actor2 |
2.3509528E-38, 2.3509528E-38 | 0 | FORBIDDEN | can't load x after store var in actor1. |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 65109 | ACCEPTABLE | load var in actor2 before store 2.3509528E-38 to var in actor1, all results are 0.0 |
0.0, 2.3509528E-38 | 0 | FORBIDDEN | this won't happen even if load x after store var because only if r1 = 2.3509528E-38 x may be assigned to 2.3509528E-38 and then r2 can be 2.3509528E-38 from x. |
2.3509528E-38, 0.0 | 4011 | ACCEPTABLE | store 2.3509528E-38 to var in actor1 before load var in actor2 |
2.3509528E-38, 2.3509528E-38 | 0 | FORBIDDEN | can't load x after store var in actor1. |
JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 2030522 | ACCEPTABLE | load var in actor2 before store 2.3509528E-38 to var in actor1, all results are 0.0 |
0.0, 2.3509528E-38 | 0 | FORBIDDEN | this won't happen even if load x after store var because only if r1 = 2.3509528E-38 x may be assigned to 2.3509528E-38 and then r2 can be 2.3509528E-38 from x. |
2.3509528E-38, 0.0 | 523438 | ACCEPTABLE | store 2.3509528E-38 to var in actor1 before load var in actor2 |
2.3509528E-38, 2.3509528E-38 | 0 | FORBIDDEN | can't load x after store var in actor1. |
JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 357453 | ACCEPTABLE | load var in actor2 before store 2.3509528E-38 to var in actor1, all results are 0.0 |
0.0, 2.3509528E-38 | 0 | FORBIDDEN | this won't happen even if load x after store var because only if r1 = 2.3509528E-38 x may be assigned to 2.3509528E-38 and then r2 can be 2.3509528E-38 from x. |
2.3509528E-38, 0.0 | 275557 | ACCEPTABLE | store 2.3509528E-38 to var in actor1 before load var in actor2 |
2.3509528E-38, 2.3509528E-38 | 0 | FORBIDDEN | can't load x after store var in actor1. |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 2357796 | ACCEPTABLE | load var in actor2 before store 2.3509528E-38 to var in actor1, all results are 0.0 |
0.0, 2.3509528E-38 | 0 | FORBIDDEN | this won't happen even if load x after store var because only if r1 = 2.3509528E-38 x may be assigned to 2.3509528E-38 and then r2 can be 2.3509528E-38 from x. |
2.3509528E-38, 0.0 | 252894 | ACCEPTABLE | store 2.3509528E-38 to var in actor1 before load var in actor2 |
2.3509528E-38, 2.3509528E-38 | 0 | FORBIDDEN | can't load x after store var in actor1. |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 216010 | ACCEPTABLE | load var in actor2 before store 2.3509528E-38 to var in actor1, all results are 0.0 |
0.0, 2.3509528E-38 | 0 | FORBIDDEN | this won't happen even if load x after store var because only if r1 = 2.3509528E-38 x may be assigned to 2.3509528E-38 and then r2 can be 2.3509528E-38 from x. |
2.3509528E-38, 0.0 | 87230 | ACCEPTABLE | store 2.3509528E-38 to var in actor1 before load var in actor2 |
2.3509528E-38, 2.3509528E-38 | 0 | FORBIDDEN | can't load x after store var in actor1. |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
0.0, 0.0 | 568319 | ACCEPTABLE | load var in actor2 before store 2.3509528E-38 to var in actor1, all results are 0.0 |
0.0, 2.3509528E-38 | 0 | FORBIDDEN | this won't happen even if load x after store var because only if r1 = 2.3509528E-38 x may be assigned to 2.3509528E-38 and then r2 can be 2.3509528E-38 from x. |
2.3509528E-38, 0.0 | 126481 | ACCEPTABLE | store 2.3509528E-38 to var in actor1 before load var in actor2 |
2.3509528E-38, 2.3509528E-38 | 0 | FORBIDDEN | can't load x after store var in actor1. |