That's true, but it's only a cache so it's not a problem. Lost things can be added at some later time. Anyway ConcurrentHashMap is good enough.