org.openjdk.jcstress.tests.singletons.SynchronizedCL.Safe

Tests the safe singleton pattern.

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 295120 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 102830 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 465320 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 397880 ACCEPTABLE The singleton is observed in full.

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 365080 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 103460 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 600860 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 35030 ACCEPTABLE The singleton is observed in full.