[jboss-jira] [JBoss JIRA] Created: (JBWEB-142) Modifiable org.apache.jasper.Constants.DEFAULT_TAG_BUFFER_SIZE

Mike Millson (JIRA) jira-events at lists.jboss.org
Wed Jun 10 22:17:56 EDT 2009


Modifiable org.apache.jasper.Constants.DEFAULT_TAG_BUFFER_SIZE
--------------------------------------------------------------

                 Key: JBWEB-142
                 URL: https://jira.jboss.org/jira/browse/JBWEB-142
             Project: JBoss Web
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Tomcat
    Affects Versions: JBossWeb-2.0.0.GA_CP10
            Reporter: Mike Millson
            Assignee: Remy Maucherat


Add functionality to parameterize the buffer size of org.apache.jasper.runtime.BodyContentImpl.java (e.g. with an environment variable).

Currently the buffer size is determined by the org.apache.jasper.Constants.DEFAULT_TAG_BUFFER_SIZE constant, which is set 512 bytes, and there is no way to override this.

Applications with many JSP pages that are larger than 512 bytes would benefit from a larger buffer size by avoiding excessive GC due to creating and destroying char arrays.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list