"manik.surtani(a)jboss.com" wrote : "bstansberry(a)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.
You might want to use something a lot less than that. 500 is a small value, and that
creates 500 hashmaps + locks. You only need a few per cpu.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219468#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...