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

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 102995 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 31394 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 1098111 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 383862 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 10510 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 1913758 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

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

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

Observed state Occurrence Expectation Interpretation
false, false 20957 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 14063 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 78410 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 566762 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 28293 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 2587535 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 57205 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 29420 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 1644065 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
false, false 60865 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 20777 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 1006478 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 3597 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 951 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 1959092 ACCEPTABLE actor2 observe the variables after actor1 update completely