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

Tests VarHandle methods which take effect of load load fence.

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

Observed state Occurrence Expectation Interpretation
null, null 29355 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 16118 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
object, null 0 FORBIDDEN var won't be observed to be updated before x is updated
object, object 1976557 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
null, null 2805 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 1601 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
object, null 0 FORBIDDEN var won't be observed to be updated before x is updated
object, object 1301194 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
null, null 8265 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 4169 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
object, null 0 FORBIDDEN var won't be observed to be updated before x is updated
object, object 2239426 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
null, null 20505 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 4817 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
object, null 0 FORBIDDEN var won't be observed to be updated before x is updated
object, object 178238 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
null, null 954 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 563 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
object, null 0 FORBIDDEN var won't be observed to be updated before x is updated
object, object 173903 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
null, null 7750 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 9301 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
object, null 0 FORBIDDEN var won't be observed to be updated before x is updated
object, object 60549 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
null, null 53208 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 18648 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
object, null 0 FORBIDDEN var won't be observed to be updated before x is updated
object, object 446034 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
null, null 58513 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 14155 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
object, null 0 FORBIDDEN var won't be observed to be updated before x is updated
object, object 1191492 ACCEPTABLE actor2 observe the variables after actor1 update completely