GitHub user wangyf2010 opened a pull request: https://github.com/apache/tomcat/pull/22
[Bug 58242] Scanning jars in classpath to get annotations in parallel instead of synchronously During tomcat startup, it takes most of time on annotation scanning. For our case, our apps have over 500 jars in class path. Tomcat startup takes 28 seconds and annotation scanning takes 23 seconds. So idea is: scan jars in parallel, per our benchmark testing, it could save 9 seconds. And jetty9 already support this feature. Per Mark Thomas comments: New features are first added to trunk and then back-ported. So file another PR for trunk. You can merge this pull request into a Git repository by running: $ git pull https://github.com/wangyf2010/tomcat trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tomcat/pull/22.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #22 ---- commit 9e560a87e1325f46dc316b13c5c428ff7b73be05 Author: Wang, Simon <yunfw...@ebay.com> Date: 2015-08-13T06:32:42Z [Bug 58242] Scanning jars in classpath to get annotations in parallel instead of synchronously ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org