1 Reply Latest reply on Jun 17, 2005 1:21 AM by belaban

    Request to change LockMap.readOwnerList_ to ConcurrentReader

      Hi;

      I've opened http://jira.jboss.com/jira/browse/JBCACHE-195 to request that LockMap.readOwnerList_ be changed from ConcurrentHashMap to ConcurrentReaderHashMap. This is because ConcurrentHashMap is very expensive to construct, and LockMap is created very frequently.

      Bottom line is the benefit of using ConcurrentHashMap over ConcurrentReaderHashMap does not pay off for fine grained objects like LockMap.

      Brian.