> public void service(Request req, Response res) > throws IOException, ServletException > { > + synchronized(this) { > if( ! initialized ) { > try { > init(); > @@ -271,6 +272,7 @@ > return; > } > } > + } This looks significant from a performance perspective. Wouldn't it be better if an _additional_ if (!initialized) were added prior to the synchronized? - Sam Ruby --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
- cvs commit: jakarta-tomcat/src/share/org/apache/tomca... craigmcc
- cvs commit: jakarta-tomcat/src/share/org/apache/... Sam Ruby/Raleigh/IBM
- cvs commit: jakarta-tomcat/src/share/org/apache/... craigmcc
- cvs commit: jakarta-tomcat/src/share/org/apache/... larryi
- cvs commit: jakarta-tomcat/src/share/org/apache/... craigmcc
- cvs commit: jakarta-tomcat/src/share/org/apache/... costin
- cvs commit: jakarta-tomcat/src/share/org/apache/... costin
- cvs commit: jakarta-tomcat/src/share/org/apache/... larryi
- cvs commit: jakarta-tomcat/src/share/org/apache/... larryi
- cvs commit: jakarta-tomcat/src/share/org/apache/... costin
- cvs commit: jakarta-tomcat/src/share/org/apache/... costin
- cvs commit: jakarta-tomcat/src/share/org/apache/... costin