Monday, 26 October 2015

JAVA : Singleton Implementation

JAVA : Singleton Implementation




  • Synchronization is very expensive when we are talking about the performance. 
  • We can see that the synchronized method getInstance does not need to be checked for syncronization after the object is initialized

No comments:

Post a Comment