Once you start comparing the runtime of real synchronized methods to their unsynchronized counterparts on modern JVMs, you’ll find that the overhead is nothing near the alarmist "50 times" that is so often bandied about. Read Part 1 of the series Threading lightly, "Synchronization is not the enemy"
 
 
Advertisements