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

Tests VarHandle methods which take effect of store store fence.

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

Observed state Occurrence Expectation Interpretation
null, null 20441 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 9034 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
object, null 0 FORBIDDEN y won't be observed to be updated before var is updated
object, object 208005 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
null, null 3365 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 465 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
object, null 0 FORBIDDEN y won't be observed to be updated before var is updated
object, object 864480 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
null, null 12613 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 95 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
object, null 0 FORBIDDEN y won't be observed to be updated before var is updated
object, object 8372 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
null, null 143997 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 31353 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
object, null 0 FORBIDDEN y won't be observed to be updated before var is updated
object, object 1137380 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
null, null 43404 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 57653 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
object, null 0 FORBIDDEN y won't be observed to be updated before var is updated
object, object 1174213 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
null, null 40607 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 1950 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
object, null 0 FORBIDDEN y won't be observed to be updated before var is updated
object, object 2135003 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
null, null 2491 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 1017 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
object, null 0 FORBIDDEN y won't be observed to be updated before var is updated
object, object 953332 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
null, null 30544 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 21431 ACCEPTABLE actor2 observe the variables after var is already updated but y hasn't yet
object, null 0 FORBIDDEN y won't be observed to be updated before var is updated
object, object 1323445 ACCEPTABLE actor2 observe the variables after actor1 update completely