org.openjdk.jcstress.tests.atomicity.varHandles.byteBuffer.heap.big.GetAndSetTest.GetAndSetFloat

Tests atomicity of getAndSet.

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

Observed state Occurrence Expectation Interpretation
0.0, 0.0, 2.0 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 0.0, 2.3509528E-38 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 2.3509528E-38, 2.0 317295 ACCEPTABLE actor1 execute before actor2
2.0, 0.0, 2.3509528E-38 46705 ACCEPTABLE actor1 execute after actor2

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

Observed state Occurrence Expectation Interpretation
0.0, 0.0, 2.0 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 0.0, 2.3509528E-38 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 2.3509528E-38, 2.0 1065354 ACCEPTABLE actor1 execute before actor2
2.0, 0.0, 2.3509528E-38 82746 ACCEPTABLE actor1 execute after actor2

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

Observed state Occurrence Expectation Interpretation
0.0, 0.0, 2.0 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 0.0, 2.3509528E-38 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 2.3509528E-38, 2.0 643645 ACCEPTABLE actor1 execute before actor2
2.0, 0.0, 2.3509528E-38 55115 ACCEPTABLE actor1 execute after actor2

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

Observed state Occurrence Expectation Interpretation
0.0, 0.0, 2.0 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 0.0, 2.3509528E-38 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 2.3509528E-38, 2.0 458720 ACCEPTABLE actor1 execute before actor2
2.0, 0.0, 2.3509528E-38 182220 ACCEPTABLE actor1 execute after actor2

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

Observed state Occurrence Expectation Interpretation
0.0, 0.0, 2.0 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 0.0, 2.3509528E-38 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 2.3509528E-38, 2.0 448537 ACCEPTABLE actor1 execute before actor2
2.0, 0.0, 2.3509528E-38 163053 ACCEPTABLE actor1 execute after actor2

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

Observed state Occurrence Expectation Interpretation
0.0, 0.0, 2.0 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 0.0, 2.3509528E-38 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 2.3509528E-38, 2.0 31520 ACCEPTABLE actor1 execute before actor2
2.0, 0.0, 2.3509528E-38 40 ACCEPTABLE actor1 execute after actor2

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

Observed state Occurrence Expectation Interpretation
0.0, 0.0, 2.0 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 0.0, 2.3509528E-38 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 2.3509528E-38, 2.0 611639 ACCEPTABLE actor1 execute before actor2
2.0, 0.0, 2.3509528E-38 221041 ACCEPTABLE actor1 execute after actor2

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

Observed state Occurrence Expectation Interpretation
0.0, 0.0, 2.0 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 0.0, 2.3509528E-38 0 FORBIDDEN This won't happen because getAndSet is atomic
0.0, 2.3509528E-38, 2.0 501728 ACCEPTABLE actor1 execute before actor2
2.0, 0.0, 2.3509528E-38 32822 ACCEPTABLE actor1 execute after actor2