7 Replies Latest reply on Feb 13, 2007 10:45 AM by thomas.diesler

    Why is the UMDM using ConcurrentHashMap?

    jason.greene

      I noticed a change in trunk that switched UMDM from HashMap to ConcurrentHashMap.

      Why was this change made?

      The design of the UMDM is that writes are confined to single thread on startup, and all access after that point is read-only. Switching from HashMap to ConcurrentHashMap adds unnecessary locking.

      -Jason