[concurrency-interest] Re: Question about Hashtable and ConcurrentHashMap.
Wed, 06 Oct 2004 22:16:57 -0700
Bino, I've taken the liberty of forwarding your question to the
In my opinion... they are not compatible *enough*, and the
performance advantage is probably only significant when
concurrency is high.
Bino George wrote:
> Hi Folks,
> I have been reading that ConcurrentHashMap is compatible
> with Hashtable and is mush faster than Hashtable. So is there any reason
> why we could not replace the implementation of Hashtable with that of
> ConcurrentHashMap ? Obviously there must be a reason why it was not
> done ? Can you tell me what the reason is ?