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 41706] - StandardWrapper uses double-checked locking
Date Tue, 27 Feb 2007 08:48:27 GMT
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=41706>.
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=41706





------- Additional Comments From remm@apache.org  2007-02-27 00:48 -------
(In reply to comment #2)
> Any particular reason not to address this?

The reason is that it is extremely unlikely there will ever be a problem, and
OTOH the lock would be pretty heavily contested (so high cost, with no gain).
For example, all requests for JSPs would sync on that single lock, simply to
ensure that no request - right after the server was initialized - ever used a
second instance of the servlet (as far as I can tell).

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message