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: [email protected]
For additional commands, e-mail: [email protected]