This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes Diffrence between Hashtable and ConcurrentHashMap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Diffrence between Hashtable and ConcurrentHashMap" Watch "Diffrence between Hashtable and ConcurrentHashMap" New topic

Diffrence between Hashtable and ConcurrentHashMap

meeta gaur
Ranch Hand

Joined: Dec 05, 2012
Posts: 305

Both are thread-safe, so what is difference ?

My one regret in life is that I am not someone else.
- Woody Allen
Vinod Tiwari
Ranch Hand

Joined: Feb 06, 2008
Posts: 466

Read this discussion.

Vinod Tiwari | Twitter | Shikshanirman | Guftgu
I agree. Here's the link:
subject: Diffrence between Hashtable and ConcurrentHashMap
It's not a secret anymore!