eer thx chris.

I have tired that already and does;t work. The classes won't load

On Thu, Feb 25, 2016 at 2:53 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> Wayne,
>
> On 2/25/16 7:49 AM, Wayne W wrote:
> > 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.
>
> http://lmgtfy.com/?q=java+jar+remove+signature
>
> -chris
>
> > On Wed, Feb 24, 2016 at 6:31 PM, Mark Thomas <ma...@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-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to