dev@glassfish.java.net

Re: JSP seems to be compiled externally. Why?

From: Byron Nevins <byron.nevins_at_Sun.COM>
Date: Thu, 23 Mar 2006 14:09:15 -0800

I should have mentioned that my comments were based on research done ~2
years ago. Probably much has changed...



Jerome Dochez wrote:
> this may not be true anymore as we turned off the security manager by
> default. It would certainly not fix the memory leak issues if it still
> has some but I think it would not be slower although I have not tested.
>
> something to remember to try in 9.1
>
> Jerome
>
> Byron Nevins wrote:
>> If you think that's slow -- you should see what happens when you run
>> javac in the same VM -- it's about 4X slower than running it n an
>> external process.
>> Also, Javac is designed to run and then exit. It has memory leaks.
>>
>>
>> Kohsuke Kawaguchi wrote:
>>>
>>> I was deploying a new appliation to Glassfish this morning with
>>> Dinesh, and we noticed that it seems to be compiling JSPs by
>>> launching an external javac (more over, it seems to be doing so for
>>> each tag file.)
>>>
>>> This made it unbearably slow to see the web pages. Why is it doing
>>> so? Can't we just load javac in the AppServer JVM?
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>