How Double Checked Locking Works in Singleton Pattern

2

How does double checked locking on Singleton works is a popular interview question, in this article we will learn why its a tricky question, what common mistakes Java developers make, when asked to write a thread-safe Singleton class in Java.

Read this post on javarevisited.blogspot.com


Javin Paul

blogs from Mumbai