DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42363>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42363 ------- Additional Comments From [EMAIL PROTECTED] 2007-05-09 07:42 ------- (In reply to comment #7) > also, volatile should solve it, so I'll add that in :) does that give us a > start > in the little black book :) > JSR-133 does not fix the double checked locking idiom. However, volatile does indeed solve the problem (of course only in JVMs that implement it, so that means 1.5 and up). See also http://www.cs.umd.edu/~pugh/java/memoryModel/jsr-133-faq.html for some more background and the alternative thread safe solution that works on all JVMs (Initialization On Demand Holder idiom). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]