org.openjdk.jcstress.tests.fences.varHandles.StoreStoreFenceTest2.ReleaseFenceShort

Tests VarHandle methods which take effect of store store fence.

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

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

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

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

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

Observed state Occurrence Expectation Interpretation
-1, -1 1436150 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN y won't be observed to be updated before var is updated
0, -1 35567 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
0, 0 119733 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 1766545 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN y won't be observed to be updated before var is updated
0, -1 7528 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
0, 0 13517 ACCEPTABLE actor2 observe the variables before actor1 update

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

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

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

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

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

Observed state Occurrence Expectation Interpretation
-1, -1 1109732 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN y won't be observed to be updated before var is updated
0, -1 2230 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
0, 0 9038 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 1007561 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN y won't be observed to be updated before var is updated
0, -1 32652 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
0, 0 102117 ACCEPTABLE actor2 observe the variables before actor1 update