On 24/02/2016 17:49, Wayne W wrote:
> Hi,
> 
> we are using a third party JAR which is about 35MB in size but is packed
> with many many obfuscated classes. Due to the nature of the functionality
> it loads classes all the time from the JAR file . I'm finding that will it
> loads the class the other threads which want to load classes get blocked.
> This is a typical stack trace:

<snip/>

> It seems all the time is spent in the SignatureFileVerifier part - is there
> any way to stop the class loader doing this and thus speed up the class
> loading?

Remove the signature from the JAR.

> I also tried configuring the ParallelWebappClassLoader which is configured
> but doesn't seem to come into play for this. I tested by doing:

The lock on the JarFile where all the classes are is going to be the
bottleneck. The parallel class loader won't help.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to