tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56293] New: WebappClassLoader does not cache META-INF/services which leads to performance issues
Date Thu, 20 Mar 2014 09:53:08 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56293

            Bug ID: 56293
           Summary: WebappClassLoader does not cache META-INF/services
                    which leads to performance issues
           Product: Tomcat 7
           Version: 7.0.28
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: michael.thiele@saxsys.de

Since Tomcat 7.0.28, the WebappClassLoader does not cache any resources on the
classpath except .class and .properties files (see
https://issues.apache.org/bugzilla/show_bug.cgi?id=53081).
This leads to a massive performance problem in applications that contain .jars
on the classpath that use the ServiceLoader mechanism of Java 6 to bind
concrete XML readers and writers to their respective interfaces, since every
time the concrete instance is loaded, the WebappClassLoader has to open the
.jar to read which concrete implementation is used.
A possible solution might be that caching is enabled for all resources that
reside in the META-INF/services folder.

-- 
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