commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael A. Smith" <...@apache.org>
Subject RE: [Commons-Avalon:collections] code integration
Date Thu, 20 Jun 2002 18:15:54 GMT
On Thu, 20 Jun 2002, Berin Loritsch wrote:
> > From: Michael A. Smith [mailto:mas@apache.org] 
> > > I hope you realize that a hashtable is synchronized...
> > 
> > I'm not sure what you mean here.
> 
> The point of the BucketMap was to minimize the cost of synchronization
> so that multiple threads could access the same Map with a minimal
> chance of thread contention.
> 
> A Hashtable is completely synchronized meaning that *each* access to
> it is an opportunity for thread contention.

I understand that Hashtable is synchronized. I didn't understand how it 
was relevant to the discussion at that point.

michael


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message