[jboss-dev-forums] [Design of JBossCache] - Re: PojoCache uses a special node factory

manik.surtani@jboss.com do-not-reply at jboss.com
Wed Jan 10 06:06:39 EST 2007


anonymous wrote : 
  | 
  | This will certainly help. Like you mentioned, this is problem more to the Cache usage itself. But it still will create contention though, and worse still can cause some lock timeout, say, when "/_JBossInternal_/Bucket0-9/Node1" tries to create another sub-node at "/_JBossInternal_/Bucket10-19/Node10", and meanwhile "/_JBossInternal_/Bucket10-19/Node11" tries to create a sub-node at "/_JBossInternal_/Bucket0-9/Node2" within the same transaction. 
  | 
  | 

This same deadlock can occur without buckets, even if nodes 1, 2, 10 and 11 had the same direct parent.

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

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



More information about the jboss-dev-forums mailing list