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

Tests VarHandle methods which take effect of store store fence.

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

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

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

Observed state Occurrence Expectation Interpretation
-1, -1 4281271 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN var won't be observed to be updated before x is updated
0, -1 39253 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 356106 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 3262336 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN var won't be observed to be updated before x is updated
0, -1 66633 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 108611 ACCEPTABLE actor2 observe the variables before actor1 update

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

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

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

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

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

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

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

Observed state Occurrence Expectation Interpretation
-1, -1 2570764 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN var won't be observed to be updated before x is updated
0, -1 7183 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 12743 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 337546 ACCEPTABLE actor2 observe the variables after actor1 update completely
-1, 0 0 FORBIDDEN var won't be observed to be updated before x is updated
0, -1 10682 ACCEPTABLE actor2 observe the variables after x is already updated but var hasn't yet
0, 0 15882 ACCEPTABLE actor2 observe the variables before actor1 update