org.openjdk.jcstress.tests.fences.varHandles.LoadLoadFenceTest.FullFenceBoolean

Tests VarHandle methods which take effect of load load fence.

JVM options: [-server, -XX:-TieredCompilation] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false 86859 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 37996 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 1155145 ACCEPTABLE actor2 observe the variables after actor1 update completely

JVM options: [-Xint] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false 26958 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 14556 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 74606 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 33484 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 11190 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 254966 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 99939 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 38235 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 2201266 ACCEPTABLE actor2 observe the variables after actor1 update completely

JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false 3077 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 405 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 2488138 ACCEPTABLE actor2 observe the variables after actor1 update completely

JVM options: [-server] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false 16319 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 4311 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 1981380 ACCEPTABLE actor2 observe the variables after actor1 update completely

JVM options: [-client] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false 9296 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 1622 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 1580562 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 85886 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 30048 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 1130496 ACCEPTABLE actor2 observe the variables after actor1 update completely