I have a HashMap that has a little more than 150000 entries. After initialization it has no put operation. There are 30-40 threads that have very high volume of get() operation on this HashMap.
Now I want to know if replacing this HasMap with a ConcurrentHashMap will add anything to the performaance or not? I mean whose searching mechanism is better?
Well there have been a number of discussions on the forum about HashMaps and Concurrent HashMaps. You can see this thread and aslo this another thread.
Originally posted by SatishXYZ Kumar: I tried to follow javaranch's official rule, but there are more users having same name
Satish Kumar
Please try to make it as real as possible. You may use your middle name or may use shortname for first name. We are a friendly forum and naming policy helps to maintain the decorum of the forum.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. You can change it here