Java: Performance Bottleneck at Singleton Synchronized Method
By admin on Jul 4, 2008 in Java, Programming
Well, this is what happened after I resolved my lock contention issue as described in my previous article. Now lock contention still happened but is in different method.
The bottleneck is at one of the synchronized method is a Singleton class.
The method is synchronized because the class is a Singleton. As I described in one of my article, we should avoid using Singleton if possible.
I will show you how I refactored the code in subsequent post.
Sorry, comments for this entry are closed at this time.