tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Boynes <>
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
> <> wrote:
>> ...
>> I'd love to hear some comments.
> Some additional background:
> 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.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message