org.openjdk.jcstress.tests.singletons.SynchronizedCL.Unsafe

Tests the safe singleton pattern.

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 352610 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 511880 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 129970 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 137970 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 308990 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 311820 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 357580 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 111930 ACCEPTABLE The singleton is observed in full.