Tests VarHandle methods which take effect of load load fence.
[1]JVM options: [-client, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
.*, 1.39067116124321E-309 | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, if r1 is half-value, load x must get a full-value |
0.0, .* | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, when load x in actor2 before fullFence in actor1 |
0.0, 0.0 | 140521 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 1.39067116124321E-309 | 73307 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
1.39067116124321E-309, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
1.39067116124321E-309, 1.39067116124321E-309 | 1043682 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-client] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
.*, 1.39067116124321E-309 | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, if r1 is half-value, load x must get a full-value |
0.0, .* | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, when load x in actor2 before fullFence in actor1 |
0.0, 0.0 | 3112 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 1.39067116124321E-309 | 1353 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
1.39067116124321E-309, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
1.39067116124321E-309, 1.39067116124321E-309 | 991785 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-Xint] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
.*, 1.39067116124321E-309 | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, if r1 is half-value, load x must get a full-value |
0.0, .* | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, when load x in actor2 before fullFence in actor1 |
0.0, 0.0 | 5927 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 1.39067116124321E-309 | 5409 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
1.39067116124321E-309, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
1.39067116124321E-309, 1.39067116124321E-309 | 74004 | 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 |
---|---|---|---|
.*, 1.39067116124321E-309 | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, if r1 is half-value, load x must get a full-value |
0.0, .* | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, when load x in actor2 before fullFence in actor1 |
0.0, 0.0 | 18929 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 1.39067116124321E-309 | 23869 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
1.39067116124321E-309, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
1.39067116124321E-309, 1.39067116124321E-309 | 1226162 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
.*, 1.39067116124321E-309 | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, if r1 is half-value, load x must get a full-value |
0.0, .* | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, when load x in actor2 before fullFence in actor1 |
0.0, 0.0 | 8247 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 1.39067116124321E-309 | 3952 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
1.39067116124321E-309, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
1.39067116124321E-309, 1.39067116124321E-309 | 1120091 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
.*, 1.39067116124321E-309 | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, if r1 is half-value, load x must get a full-value |
0.0, .* | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, when load x in actor2 before fullFence in actor1 |
0.0, 0.0 | 211107 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 1.39067116124321E-309 | 89155 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
1.39067116124321E-309, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
1.39067116124321E-309, 1.39067116124321E-309 | 3175548 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |
JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200
Observed state | Occurrence | Expectation | Interpretation |
---|---|---|---|
.*, 1.39067116124321E-309 | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, if r1 is half-value, load x must get a full-value |
0.0, .* | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, when load x in actor2 before fullFence in actor1 |
0.0, 0.0 | 13143 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 1.39067116124321E-309 | 10481 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
1.39067116124321E-309, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
1.39067116124321E-309, 1.39067116124321E-309 | 504326 | 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 |
---|---|---|---|
.*, 1.39067116124321E-309 | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, if r1 is half-value, load x must get a full-value |
0.0, .* | 0 | ACCEPTABLE_SPEC | Non-atomic access detected, allowed by spec, when load x in actor2 before fullFence in actor1 |
0.0, 0.0 | 88977 | ACCEPTABLE | actor2 observe the variables before actor1 update |
0.0, 1.39067116124321E-309 | 21527 | ACCEPTABLE | actor2 observe the variables after x is already updated but var hasn't yet |
1.39067116124321E-309, 0.0 | 0 | FORBIDDEN | var won't be observed to be updated before x is updated |
1.39067116124321E-309, 1.39067116124321E-309 | 1257636 | ACCEPTABLE | actor2 observe the variables after actor1 update completely |