quality@glassfish.java.net

Re: My first tests with FishCAT ...ouch

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Thu, 19 Nov 2009 09:48:20 -0800

Jose,

On 11/19/09 09:18, Jan Luehe wrote:
> Jose,
>
> On 11/19/09 00:38, Jose Noheda wrote:
>> Jan,
>>
>> While I agree there's no infinite loop I can't help but notice the
>> fact that Tomcat compiles the same tag files in under 10 to 15
>> seconds so IMHO there is some kind of problem with the compiling code
>> (we are talking about 500 secs to compile around 50 files!).
>
> I agree. I was only referring to the fact that if you undeploy an app
> while it is in the process
> of compiling JSP pages, the IllegalStateException on its classloader
> should be expected.
>
> I've asked Kin-man (cc'ed) to look into why the compilation takes sooo
> long.
> Will file a separate issue for this.
>
> Don't worry, this won't slip under the covers. :)

I just filed https://glassfish.dev.java.net/issues/show_bug.cgi?id=11100
("[JSP] Tag file compilation is taking too long") and added you (and Judy)
to its interest list.

Note that GlassFish uses in-memory (JSR 199-style) compilations for JSP
pages
and tag files, whereas Tomcat does not. Under normal circumstances, JSR 199
would speed up compilations. I'm not sure if that would play any role
here (but
I was just trying to think of what's different between GlassFish and
Tomcat),
or there may just be an implementation inefficiency in GlassFish.

In any case, the bug is in Kin-man's capable hands. :)

Thanks again for your test case! I can't believe how many issues it has
already
uncovered - but we're making progress which is all that matters!

Jan