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

Tests VarHandle methods which take effect of load load fence.

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

Observed state Occurrence Expectation Interpretation
-1, -1 1942656 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN var won't be observed to be updated before x is updated
0, -1 38907 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 84767 ACCEPTABLE actor2 observe the variables before actor1 update

JVM options: [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
-1, -1 2285135 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN var won't be observed to be updated before x is updated
0, -1 2015 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 4200 ACCEPTABLE actor2 observe the variables before actor1 update

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

Observed state Occurrence Expectation Interpretation
-1, -1 585129 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN var won't be observed to be updated before x is updated
0, -1 12721 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 18600 ACCEPTABLE actor2 observe the variables before actor1 update

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

Observed state Occurrence Expectation Interpretation
-1, -1 1861225 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN var won't be observed to be updated before x is updated
0, -1 47832 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 77693 ACCEPTABLE actor2 observe the variables before actor1 update

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

Observed state Occurrence Expectation Interpretation
-1, -1 1293719 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN var won't be observed to be updated before x is updated
0, -1 16560 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 51901 ACCEPTABLE actor2 observe the variables before actor1 update

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

Observed state Occurrence Expectation Interpretation
-1, -1 3810735 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN var won't be observed to be updated before x is updated
0, -1 62340 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 162705 ACCEPTABLE actor2 observe the variables before actor1 update

JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
-1, -1 858283 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN var won't be observed to be updated before x is updated
0, -1 15270 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 31357 ACCEPTABLE actor2 observe the variables before actor1 update

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

Observed state Occurrence Expectation Interpretation
-1, -1 34447 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN var won't be observed to be updated before x is updated
0, -1 4341 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 3972 ACCEPTABLE actor2 observe the variables before actor1 update