[jboss-user] [JBoss Cache: Core Edition] - Re: on child insert parent, child collection updated in DB b

bstansberry@jboss.com do-not-reply at jboss.com
Wed Mar 18 15:34:00 EDT 2009


To understand the locking discussion you'd need to have a look at the classes in https://svn.jboss.org/repos/jbosscache/core/trunk/src/main/java/org/jboss/cache/util/concurrent/locks/ particularly PerElementLockContainer.

The lock striping issue in general is that instead of having a lock per Fqn, there is a configurable number of shared locks, with Fqn mapping to a shared lock via a hash function.  This can introduce lock conflict problems.

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

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



More information about the jboss-user mailing list