org.openjdk.jcstress.tests.atomicity.buffers.DirectByteBufferAtomicityTests.ShortTest

Tests if operations on buffers are atomic.

[1] [2]

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

Observed state Occurrence Expectation Interpretation
-1 201100 ACCEPTABLE Seeing the complete update.
0 26240 ACCEPTABLE Seeing the default value, this is valid under race.

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

Observed state Occurrence Expectation Interpretation
-1 297960 ACCEPTABLE Seeing the complete update.
0 73700 ACCEPTABLE Seeing the default value, this is valid under race.

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

Observed state Occurrence Expectation Interpretation
-1 197474 ACCEPTABLE Seeing the complete update.
0 14336 ACCEPTABLE Seeing the default value, this is valid under race.

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

Observed state Occurrence Expectation Interpretation
-1 174559 ACCEPTABLE Seeing the complete update.
0 84311 ACCEPTABLE Seeing the default value, this is valid under race.

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

Observed state Occurrence Expectation Interpretation
-1 225740 ACCEPTABLE Seeing the complete update.
0 20320 ACCEPTABLE Seeing the default value, this is valid under race.

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

Observed state Occurrence Expectation Interpretation
-1 225200 ACCEPTABLE Seeing the complete update.
0 20920 ACCEPTABLE Seeing the default value, this is valid under race.

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

Observed state Occurrence Expectation Interpretation
-1 15805 ACCEPTABLE Seeing the complete update.
0 8625 ACCEPTABLE Seeing the default value, this is valid under race.

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

Observed state Occurrence Expectation Interpretation
-1 135859 ACCEPTABLE Seeing the complete update.
0 8691 ACCEPTABLE Seeing the default value, this is valid under race.