Re: Multithreaded use of HashMap

2007-09-20 Thread Don Brown
e). > > > > The same argument to use ConcurrentHashMap for SpringObjectFactory I think > > applies to changing OgnlUtils to use ConcurrentHashMap instead of an > > externally synchronized HashMap. > > > > Darren > > > > -Original Messag

Re: Multithreaded use of HashMap

2007-09-20 Thread Don Brown
essage- > From: Don Brown [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 20, 2007 9:56 AM > To: Struts Developers List > Subject: Re: Multithreaded use of HashMap > > OgnlUtil properly protects its caches by surrounding them in > synchronized blocks, but you are right,

RE: Multithreaded use of HashMap

2007-09-20 Thread Shepherd, Darren S
2007 9:56 AM To: Struts Developers List Subject: Re: Multithreaded use of HashMap OgnlUtil properly protects its caches by surrounding them in synchronized blocks, but you are right, the SpringObjectFactory class does not. I fixed it in trunk. Don On 9/20/07, Shepherd, Darren S <[EMAIL PROTECTED]&g

Re: Multithreaded use of HashMap

2007-09-20 Thread Don Brown
OgnlUtil properly protects its caches by surrounding them in synchronized blocks, but you are right, the SpringObjectFactory class does not. I fixed it in trunk. Don On 9/20/07, Shepherd, Darren S <[EMAIL PROTECTED]> wrote: > I noticed two different cases where a HashMap is being used in a > mu