ConcurrentHashMap
A thread-safe map with atomic per-key operations such as merge and computeIfAbsent.
java.util.concurrent.ConcurrentHashMap supports concurrent reads and writes, atomic merge, compute, computeIfAbsent and putIfAbsent, weakly consistent iterators, and no null keys or values.
See also