all advance java questions, Collections (Hashmaps, Concurrent Hashmaps, List,)
Antworten zu Vorstellungsgespräch
Anonym
10. Aug. 2020
What were the questions?
Anonym
30. Aug. 2020
ConcurrentHashMap allows concurrent threads to read the value without locking at all.
This was introduced to improve performance.
It allows concurrent access to the map. Part of the map called segment gets locked while adding or updating the map.