[jboss-user] [JBoss Cache: Core Edition] - Re: Excessive ReentrantLock$NonfairSync objects

manik.surtani@jboss.com do-not-reply at jboss.com
Tue Jul 1 06:29:30 EDT 2008


16 per node doesn't sound correct.  I can see 1 per node for the child map, as well as another one for the locks, but that's about it.  You must remember though that this is per NODE - so an Fqn like /a/b/c involves 3 nodes.

A lot of this stuff is due for major improvements in JBC 3.x where there won't be a CHM per node for locks, just one for children.

Perhaps the CHMs you see are uncollected objects?  Does your app frequently create and delete nodes?  Does this change significantly after a System.gc() call?

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

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



More information about the jboss-user mailing list