https://issues.apache.org/bugzilla/show_bug.cgi?id=56838

Konstantin Kolinko <knst.koli...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---

--- Comment #5 from Konstantin Kolinko <knst.koli...@gmail.com> ---
(In reply to Mark Thomas from comment #3)
> The bulk of the performance difference between 7.0.x
> and 8.0.x is as a result of different optimisations (e.g. r1539992 ) being
> applied to 8.0.x when compared to 7.0.x.

Regarding r1539992
In case if we are trying to load a class that is already loaded by the "system"
classloader (it is called "javaseLoader" in the current trunk code).

In the old code the system.loadClass() call does system.findLoadedClass() as
one of its first steps and will return fast. In the new code it does
getResource() lookup which is slower.

a) Is r1539992 really worth it? I expect that a typical web application and its
libraries do load a lot of classes from the system classloader.

b) Implement a cache that lists classes that have been already loaded by system
class loader?

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