org.openjdk.jcstress.tests.fences.varHandles.StoreStoreFenceTest1.FullFenceInt

Tests VarHandle methods which take effect of store store fence.

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

Observed state Occurrence Expectation Interpretation
-1, -1 2074600 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 1749 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 4501 ACCEPTABLE actor2 observe the variables before actor1 update

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

Observed state Occurrence Expectation Interpretation
-1, -1 1390542 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 4014 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 10314 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 2521398 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 15336 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 416446 ACCEPTABLE actor2 observe the variables before actor1 update

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

Observed state Occurrence Expectation Interpretation
-1, -1 75789 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 2338 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 3803 ACCEPTABLE actor2 observe the variables before actor1 update

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

Observed state Occurrence Expectation Interpretation
-1, -1 102521 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 14279 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 16890 ACCEPTABLE actor2 observe the variables before actor1 update

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

Observed state Occurrence Expectation Interpretation
-1, -1 2404505 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 12859 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 85976 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 1584850 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 4072 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 51418 ACCEPTABLE actor2 observe the variables before actor1 update

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

Observed state Occurrence Expectation Interpretation
-1, -1 303863 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 712 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 6465 ACCEPTABLE actor2 observe the variables before actor1 update