[jboss-user] [JBossCache] - Re: Reading threads are blocked
do-not-reply at jboss.com
Thu Jul 12 14:17:19 EDT 2007
"FredrikJ" wrote : That would probably qualify as a double locked check which is unfortunately not thread safe (see http://www.ibm.com/developerworks/library/j-dcl.html).
Correct, to do this lock would have to be made volatile, which would trigger a memory barrier.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063660#4063660
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063660
More information about the jboss-user