About Warning! Threading in a Multiprocessor World
Warning! Threading in a Multiprocessor World- Many authors advocate the double-checked locking idiom to access a Singleton object in an intuitively thread-safe way. Unfortunately, for counterintuitive reasons, double-checked locking doesn't work in Java.