Bug 59901 - Reduce I/O associated with JSP compilation
Summary: Reduce I/O associated with JSP compilation
Alias: None
Product: Tomcat 9
Classification: Unclassified
Component: Jasper (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement (vote)
Target Milestone: -----
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2016-07-26 09:34 UTC by Mark Thomas
Modified: 2019-07-25 19:26 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Mark Thomas 2016-07-26 09:34:46 UTC
Currently, JSPs are opened and read multiple times during a single compilation. The aim of this enhancement is to reduce this. Ideally, a JSP would only be opened once although multiple reads will always be required.
Comment 1 Zemian Deng 2017-08-06 21:17:34 UTC
Hi, I have submitted a PR here https://github.com/apache/tomcat/pull/72
Comment 2 Mark Thomas 2019-07-25 19:26:47 UTC
This turned out to be a case of premature optimisation.

The caching of static files by the resources implementation ensures that the multiple reads do not have a significant impact on performance.