You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2010/02/23 00:01:03 UTC
Re: svn commit: r915013
Sam Berlin wrote:
> ConcurrentHashMap has a high memory overhead (which has bitten me in
> projects before, where CHM was used for in many places convenience but
> wasn't strictly needed). Unless there's a compelling need to have a
> non-blocking threadsafe map, a synchronized hashmap should work well.
>
> Sam
>
Folks
This feature is meant to be used for very infrequently, for special use
cases. There is no point optimizing access to the connection attribute
map, as it is unlikely to be accessed at all, let alone concurrently. A
synchronized hashmap should be good enough.
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org