[jboss-dev-forums] [JBoss ESB Development] - Re: Performance Improvement Proposal: Cache result of HttpSe

bill.burke@jboss.com do-not-reply at jboss.com
Mon Dec 7 18:37:28 EST 2009


"Kevin.Conner at jboss.com" wrote : The bug is in the use of hashmap outside of the synchronisation, as that fails in certain memory models.  Caching multiple times is not the issue, although though could theoretically happen.
  | 
  | Kev

FYI, doublecheck works:

http://bill.burkecentral.com/2008/10/30/double-check-does-work/

You have to be careful how you init and declare variables though.

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

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



More information about the jboss-dev-forums mailing list