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

Tests VarHandle methods which take effect of store store fence.

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

Observed state Occurrence Expectation Interpretation
null, null 2333 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 1308 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
object, null 0 FORBIDDEN var won't be observed to be updated before x is updated
object, object 381109 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 32142 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 20491 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
object, null 0 FORBIDDEN var won't be observed to be updated before x is updated
object, object 956157 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 2512 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 3735 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
object, null 0 FORBIDDEN var won't be observed to be updated before x is updated
object, object 1633813 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

Observed state Occurrence Expectation Interpretation
null, null 18028 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 2760 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
object, null 0 FORBIDDEN var won't be observed to be updated before x is updated
object, object 65732 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 814 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 236 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
object, null 0 FORBIDDEN var won't be observed to be updated before x is updated
object, object 38810 ACCEPTABLE actor2 observe the variables after actor1 update completely

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

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

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

Observed state Occurrence Expectation Interpretation
null, null 2936 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 1882 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
object, null 0 FORBIDDEN var won't be observed to be updated before x is updated
object, object 2190902 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 26188 ACCEPTABLE actor2 observe the variables before actor1 update
null, object 9609 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
object, null 0 FORBIDDEN var won't be observed to be updated before x is updated
object, object 2866603 ACCEPTABLE actor2 observe the variables after actor1 update completely