tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Boynes <jboy...@apache.org>
Subject Re: Regarding c:forEach and memory usage
Date Fri, 28 Jan 2011 07:49:34 GMT
On Jan 27, 2011, at 10:14 AM, Kris Schneider wrote:

> On Thu, Jan 27, 2011 at 11:54 AM, Christopher Schultz
> <chris@christopherschultz.net> wrote:
>> ...
>> I'd love to hear some comments.
> 
> Some additional background:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=33934
> 
> I haven't looked at the patch, so I'm not sure exactly how that got solved...

The original implementation evaluated all EL expressions in doStartTag saving the results
in fields that were not cleared until release. The patch changes this so the expressions are
evaluated as needed and the results are not saved; each expression is called at most once.
In EL mode, only the expression source is retained when the tag is in the pool; in RT mode,
the results set by the container are retained per the spec.

--
Jeremy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message