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

manik.surtani@jboss.com do-not-reply at jboss.com
Thu Mar 19 04:58:11 EDT 2009


"jason.greene at jboss.com" wrote : Ah I see this is to handle the case of a blocked/queued thread acquiring a lock. Hmm this kind of defeats the performance benefit of aqs lock queueing 

Yeah I know it completely defeats the purpose of AQS queueing and just uses the lock as a token.  The real "lock" here is holding a position in the CHM.  Sucky, but well... 



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

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



More information about the jboss-dev-forums mailing list