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

Tests VarHandle methods which take effect of store store fence.

JVM options: [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
false, false 64679 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 24374 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
true, false 0 FORBIDDEN y won't be observed to be updated before var is updated
true, true 1274247 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
false, false 2472 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 956 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
true, false 0 FORBIDDEN y won't be observed to be updated before var is updated
true, true 2677672 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
false, false 11455 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 4814 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
true, false 0 FORBIDDEN y won't be observed to be updated before var is updated
true, true 3089171 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
false, false 220501 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 67730 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
true, false 0 FORBIDDEN y won't be observed to be updated before var is updated
true, true 1341079 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
false, false 3317 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 1247 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
true, false 0 FORBIDDEN y won't be observed to be updated before var is updated
true, true 15416 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
false, false 9440 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 1913 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
true, false 0 FORBIDDEN y won't be observed to be updated before var is updated
true, true 2245437 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
false, false 15561 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 2729 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
true, false 0 FORBIDDEN y won't be observed to be updated before var is updated
true, true 850240 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
false, false 14228 ACCEPTABLE actor2 observe the variables before actor1 update
false, true 6566 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
true, false 0 FORBIDDEN y won't be observed to be updated before var is updated
true, true 851196 ACCEPTABLE actor2 observe the variables after actor1 update completely