-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
Release Notes
-
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.