Q. [ F2F] What is concurrent hash map? Why is it needed when we already have Synchronized hash map?
Anonymous
During iteration, hashmap takes a lot time for another operations to happen as it blocks the hashmap during iteration while in concurrent it blocks only a segment and rest portion is free to perform operations . so if size is big ,performance is issue in hashmap .
Check out your Company Bowl for anonymous work chats.