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

jason.greene@jboss.com do-not-reply at jboss.com
Wed Mar 18 13:49:02 EDT 2009


"manik.surtani at jboss.com" wrote : Actually, getLock().4 should read:
  | 
  | 4.  after acquisition, test that lock acquired is same as lock created in 1, otherwise unluck, discard lock and try again.

Why is this step needed? If everything is using putIfAbsent you shouldn't have a problem.

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

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



More information about the jboss-dev-forums mailing list