We now use ConcurrentHashMap as type instead of HashMap to properly synchronize concurrent updates to missing cache elements. The previously used HashMap was not thread-safe so concurrent modifications resulted in ConcurrentModificationException.
We now use ConcurrentHashMap as type instead of HashMap to properly synchronize concurrent updates to missing cache elements. The previously used HashMap was not thread-safe so concurrent modifications resulted in ConcurrentModificationException.