Why double checking locks singleton to use the volatile keyword?

NoSuchKey

Guess you like

Origin blog.51cto.com/14442094/2429906