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

Tests VarHandle methods which take effect of load load fence.

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

Observed state Occurrence Expectation Interpretation
, 24274 ACCEPTABLE actor2 observe the variables before actor1 update
, A 6024 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
A, 0 FORBIDDEN var won't be observed to be updated before x is updated
A, A 938762 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
, 138395 ACCEPTABLE actor2 observe the variables before actor1 update
, A 62491 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
A, 0 FORBIDDEN var won't be observed to be updated before x is updated
A, A 3340614 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
, 37885 ACCEPTABLE actor2 observe the variables before actor1 update
, A 12903 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
A, 0 FORBIDDEN var won't be observed to be updated before x is updated
A, A 771172 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
, 14032 ACCEPTABLE actor2 observe the variables before actor1 update
, A 11643 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
A, 0 FORBIDDEN var won't be observed to be updated before x is updated
A, A 756195 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
, 13067 ACCEPTABLE actor2 observe the variables before actor1 update
, A 2319 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
A, 0 FORBIDDEN var won't be observed to be updated before x is updated
A, A 2364564 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
, 46064 ACCEPTABLE actor2 observe the variables before actor1 update
, A 14917 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
A, 0 FORBIDDEN var won't be observed to be updated before x is updated
A, A 394969 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
, 24557 ACCEPTABLE actor2 observe the variables before actor1 update
, A 8657 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
A, 0 FORBIDDEN var won't be observed to be updated before x is updated
A, A 99386 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
, 108108 ACCEPTABLE actor2 observe the variables before actor1 update
, A 48793 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
A, 0 FORBIDDEN var won't be observed to be updated before x is updated
A, A 1334349 ACCEPTABLE actor2 observe the variables after actor1 update completely