tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49985] Lazy initialization without any synchronization - data race in AstInteger, AstFloatingPoint, AstString
Date Fri, 01 Oct 2010 12:15:42 GMT

--- Comment #5 from Mark Thomas <> 2010-10-01 08:15:36 EDT ---
I've yet to be convinced that there is an real issue here. I don't see any
multi-threaded code paths into instances of those classes.

If we change anything (on the basis there might be a way for multiple threads
to use one of these objects at the same time) then using volatile should
prevent misbehaviour with minimal impact. I'm not concerned about possible
additional object creation.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message