tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bergsten <>
Subject Re: [PATCH]: significant performance boost for JSP pages
Date Wed, 23 Feb 2000 00:32:24 GMT
Alex Cruikshank wrote:
> [snipped description of JSP performance problems]
> What's worse, the code called from a synchronized method, JspLoader.loadJSP(),
> which means that every JSP page request will have wait its turn to execute
> this code. [...]

I'm pretty sure this method was made synchronized as a quick and dirty fix
for a serious multithreading problem (two JSP pages accessed for the first time
at roughly the same time ended up as servlets mixing content from the two
pages). Besides removing "synchronized", the core problem must be solved.

Hans Bergsten
Gefion Software

View raw message