Description of Double-checked locking and the Singleton pattern :
This article explains in details about the idioms used in programming languages. Programmers devote valuable time in learning, developing and make them work. The article discuses in details the idioms of the Java programming language especially the double checked locking idioms which is one such idiom that should never be used. This discusses the roots of the double-checked locking idiom and the reasons why it was developed, and also the reasons as to why it doesn't work.