tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=49985

--- Comment #5 from Mark Thomas <markt@apache.org> 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message