Hi there,

On Tue, Dec 20, 2005 at 05:02:37PM -0000, [EMAIL PROTECTED] wrote:
> Author: remm
> Date: Tue Dec 20 09:02:33 2005
> New Revision: 358036
> 
> URL: http://svn.apache.org/viewcvs?rev=358036&view=rev
> Log:
> - Add two system properties (as given the JSP API, there is no easy solution 
> to
>   retrieve configuration parameters elsewhere) to allow configuring Jasper
>   memory management. Note that changing from the defaults may affect
>   performance, depending on the application.

[...]
> +    private static final boolean LIMIT_BUFFER = 
> +        
> Boolean.parseBoolean(System.getProperty("org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER",
>  "false"));
[...]
> +            if (LIMIT_BUFFER && (cb.length > 
> Constants.DEFAULT_TAG_BUFFER_SIZE)) {
> +                bufferSize = Constants.DEFAULT_TAG_BUFFER_SIZE;
> +                cb = new char[bufferSize];
[...]
> +    private static final boolean USE_POOL = 
> +        
> Boolean.parseBoolean(System.getProperty("org.apache.jasper.runtime.JspFactoryImpl.USE_POOL",
>  "true"));

Thanks a lot! This gives people nice adjusting screws.

Bye, Tino.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to