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

null

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

Observed state Occurrence Expectation Interpretation
-1 699074 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 677676 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 1017816 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 113144 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 428474 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 233676 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 1020366 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 782994 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] Iterations: 5 Time: 200

Observed state Occurrence Expectation Interpretation
-1 536203 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 1233177 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 48880 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 35460 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 654701 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 320799 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 1297591 ACCEPTABLE The value set by the actor thread. Observer sees the complete update.
0 593619 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.