commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter royal <pro...@apache.org>
Subject Re: [jelly] Trying to understand ThreadLocal story
Date Thu, 16 Dec 2004 23:37:11 GMT
On Dec 16, 2004, at 10:43 AM, Paul Libbrecht wrote:
> Now... aren't we >just< missing a simple notion "run-session", passed 
> between script-objects, where each TagScript could put it's tag ?
> A simple hash-table where the key is the tag-script seems to satisfy 
> requirements.
> That run-session, in normal conditions, would be garbage collected at 
> the end of the run(), at least.

Basically, yes. Rather than caching tags in the TagScript, we 
could/should cache them in a JellyContext. You could then discards the 
JellyContext to force the Tag's to be GC'd
-pete


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


Mime
View raw message