commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@apache.org>
Subject RE: [Commons-Avalon:collections] code integration
Date Thu, 20 Jun 2002 18:09:42 GMT
> 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.
 


--
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