org.openjdk.jcstress.tests.singletons.SafeLocalDCL.Safe

Tests the safe singleton pattern.

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

Observed state Occurrence Expectation Interpretation
0 0 FORBIDDEN Factory returned null singleton.
1 0 FORBIDDEN The singleton data is null.
42 78890 ACCEPTABLE The singleton is observed in full.

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

Observed state Occurrence Expectation Interpretation
0 0 FORBIDDEN Factory returned null singleton.
1 0 FORBIDDEN The singleton data is null.
42 86000 ACCEPTABLE The singleton is observed in full.

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

Observed state Occurrence Expectation Interpretation
0 0 FORBIDDEN Factory returned null singleton.
1 0 FORBIDDEN The singleton data is null.
42 318690 ACCEPTABLE The singleton is observed in full.

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

Observed state Occurrence Expectation Interpretation
0 0 FORBIDDEN Factory returned null singleton.
1 0 FORBIDDEN The singleton data is null.
42 920 ACCEPTABLE The singleton is observed in full.

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

Observed state Occurrence Expectation Interpretation
0 0 FORBIDDEN Factory returned null singleton.
1 0 FORBIDDEN The singleton data is null.
42 41180 ACCEPTABLE The singleton is observed in full.

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

Observed state Occurrence Expectation Interpretation
0 0 FORBIDDEN Factory returned null singleton.
1 0 FORBIDDEN The singleton data is null.
42 1180 ACCEPTABLE The singleton is observed in full.

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

Observed state Occurrence Expectation Interpretation
0 0 FORBIDDEN Factory returned null singleton.
1 0 FORBIDDEN The singleton data is null.
42 7460 ACCEPTABLE The singleton is observed in full.

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

Observed state Occurrence Expectation Interpretation
0 0 FORBIDDEN Factory returned null singleton.
1 0 FORBIDDEN The singleton data is null.
42 214950 ACCEPTABLE The singleton is observed in full.