org.openjdk.jcstress.tests.varhandles.DekkerTest

Description and references

Tests Dekker-lock-style idioms

Environment

java.specification.name Java Platform API Specification
java.specification.vendor Oracle Corporation
java.specification.version 10
java.vendor Oracle Corporation
java.version 10-internal
java.vm.name OpenJDK 64-Bit Server VM
java.vm.vendor Oracle Corporation
java.vm.version 10-internal+0-adhoc..jdksrc
os.arch aarch64
os.name Linux
os.version 4.9.20

Test configurations

TC 1 JVM options: [] Iterations: 5 Time: 1000 Stride: [10, 10000] (capped by NONE)
TC 2 JVM options: [-XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 1000 Stride: [10, 10000] (capped by NONE)
TC 3 JVM options: [-XX:-TieredCompilation] Iterations: 5 Time: 1000 Stride: [10, 10000] (capped by NONE)
TC 4 JVM options: [-XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM, -XX:+StressGCM] Iterations: 5 Time: 1000 Stride: [10, 10000] (capped by NONE)
TC 5 JVM options: [-XX:TieredStopAtLevel=1] Iterations: 5 Time: 1000 Stride: [10, 10000] (capped by NONE)
TC 6 JVM options: [-Xint] Iterations: 5 Time: 1000 Stride: [10, 10000] (capped by NONE)

Observed states

Observed state TC 1 TC 2 TC 3 TC 4 TC 5 TC 6 Expectation Interpretation
0, 0 528056 984520 569623 870649 0 0 FORBIDDEN Violates sequential consistency
0, 1 4588680 8838433 15319103 11358521 12131215 482025 ACCEPTABLE Trivial under sequential consistency
1, 0 3506432 11941680 4915127 10097456 6459849 20186 ACCEPTABLE Trivial under sequential consistency
1, 1 4023 19208 68 595 94897 224690 ACCEPTABLE Trivial under sequential consistency
FAILED FAILED FAILED FAILED OK OK

Auxiliary data