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

Tests VarHandle methods which take effect of store store fence.

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

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

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

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

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

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

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

Observed state Occurrence Expectation Interpretation
-1, -1 2791491 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 1203 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
0, 0 4256 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 601479 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 21693 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
0, 0 75508 ACCEPTABLE actor2 observe the variables before actor1 update

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

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

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

Observed state Occurrence Expectation Interpretation
-1, -1 2167296 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 27834 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
0, 0 72080 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 2267680 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 7657 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
0, 0 109073 ACCEPTABLE actor2 observe the variables before actor1 update