https://issues.apache.org/bugzilla/show_bug.cgi?id=49900
Summary: BundleSupport.release() does not call super.release()
to clear bodyContent
Product: Taglibs
Version: 1.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Standard Taglib
AssignedTo: [email protected]
ReportedBy: [email protected]
I'm running standard-1.1.2.jar in Tomcat 5.5. Profiling reveals large memory
usage in org.apache.jasper.runtime.BodyContentImpl objects.
I believe this is because
org.apache.taglibs.standard.tag.common.fmt.BundleTagSupport does not call
super.release() from it's release() method. The superclass, BodyTagSupport,
nulls the reference to bodyContent in it's release() method.
The BundleTag instances are pooled by the container, so in between requests the
most recent bodyContent cannot be garbage collected. It will be reset on the
next startTag() invocation, so the tag behavior is correct, but the memory
usage is much higher than it should be.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]