Monday, December 21, 2009

When A Synchronized Class Isn’t Threadsafe

Every java programmer has heard that ArrayList is not synchronized and Vector is synchronized. In fact a class which is Synchronized is always thread safe. I think it is wrong. While searching through Net, I came to read this article, read it, it is really worth to see:-

http://rayfd.wordpress.com/2007/11/11/when-a-synchronized-class-isnt-threadsafe/

No comments:

Post a Comment