tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wayne W <waynemailingli...@gmail.com>
Subject Re: Class loading locking threads
Date Thu, 25 Feb 2016 12:49:18 GMT
Thanks Mark,

unfortunately its not our jar - I don't believe there is a way we can
remove the signature as all the class files are encoded.

On Wed, Feb 24, 2016 at 6:31 PM, Mark Thomas <markt@apache.org> wrote:

> 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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message