https://bz.apache.org/bugzilla/show_bug.cgi?id=64858

--- Comment #2 from Gael Lalire <gael.lal...@gaellalire.fr> ---
Yes, it is also possible to rebuild the WAR locally with maven resolver.
However you will have multiple copies of same lib in your disk (more disk
usage) and you lose the possibility to share lib's classes between WAR (more
memory usage).
In addition classloader created by Vestige are faster to load classes, because
it does not try each lib jar, it evaluates a minimized DFA to know in which jar
the class should be loaded.

Also I made not many changes to only 6 classes
(https://github.com/vestige-java-app/tomcat_vestige/commit/67dea6054c9da30047ebba3e9a376fa44b544f13#diff-e9240c9af00e44b55b8036434d325bea52d194dc43615ef31478c531d24751cc)
in Tomcat and one (WebappClassLoaderBase.java) does not count because it is
only removing illegal operations on JVM > 9 which newer version of Tomcat will
not have.

With an extension point all the code to create classloader in another way will
not be in Tomcat.

But I need someone, who find reduced disk and memory usage useful, to work on
how to create this extension point.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to