[jboss-dev-forums] [Design of JBossCache] - Re: Lock striping broken for Second Level Cache use case

manik.surtani@jboss.com do-not-reply at jboss.com
Thu Mar 19 06:11:44 EDT 2009


"bstansberry at jboss.com" wrote : PerElementLockContainer.locks is using the default CHM c'tor which means 16 segments. That's low since this will be a very write-heavy map.

Good point.  Updating this to use the concurrencyLevel value, which defaults to 500.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219412#4219412

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219412



More information about the jboss-dev-forums mailing list