org.openjdk.jcstress.tests.atomicity.primitives.reflect.VolatileShortAtomicityTest

null

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

Observed state Occurrence Expectation Interpretation
-1 601255 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 289035 ACCEPTABLE Default value for the field. Observers are allowed to see the default value for the field, because there is the data race between reader and writer.

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

Observed state Occurrence Expectation Interpretation
-1 54536 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 21684 ACCEPTABLE Default value for the field. Observers are allowed to see the default value for the field, because there is the data race between reader and writer.

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

Observed state Occurrence Expectation Interpretation
-1 723363 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 379647 ACCEPTABLE Default value for the field. Observers are allowed to see the default value for the field, because there is the data race between reader and writer.

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

Observed state Occurrence Expectation Interpretation
-1 95700 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 19380 ACCEPTABLE Default value for the field. Observers are allowed to see the default value for the field, because there is the data race between reader and writer.

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

Observed state Occurrence Expectation Interpretation
-1 661640 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 434610 ACCEPTABLE Default value for the field. Observers are allowed to see the default value for the field, because there is the data race between reader and writer.

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

Observed state Occurrence Expectation Interpretation
-1 1252733 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 525427 ACCEPTABLE Default value for the field. Observers are allowed to see the default value for the field, because there is the data race between reader and writer.

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

Observed state Occurrence Expectation Interpretation
-1 492706 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 110234 ACCEPTABLE Default value for the field. Observers are allowed to see the default value for the field, because there is the data race between reader and writer.

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

Observed state Occurrence Expectation Interpretation
-1 415326 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 244964 ACCEPTABLE Default value for the field. Observers are allowed to see the default value for the field, because there is the data race between reader and writer.