https://issues.apache.org/bugzilla/show_bug.cgi?id=56838
--- Comment #7 from Konstantin Kolinko <knst.koli...@gmail.com> --- (In reply to Mark Thomas from comment #6) > > One option to speed things up would be to use reflection to make > findLoadedClass(String) accessible and then call it directly. That would > give the benefits of r1539992 without and additional costs. I'll take a > look... I thought that as well. It looks promising, but looking into Java 7 I see two caveats: a) If the system classloader has a parent, there is a question of calling parent.findLoadedClass() as well. b) In ClassLoader#loadClass() it obtains a lock before calling findLoadedClass(), so it might be not safe to call it without a lock. -- 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