commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dion gillard (JIRA)" <>
Subject [jira] Commented: (JELLY-148) Huge memory leak resulting from the use of ThreadLocal
Date Wed, 27 Oct 2004 22:02:33 GMT
     [ ]
dion gillard commented on JELLY-148:

I have applied the patches with some small changes:

- I've moved the invokeNestedTagsOfType(WeakReferenceWrapperScript, Class, JellyContext, XMLOutput)
method to TransformTag, as this was the only place it was being used, and it was introducing
a dependency for the core on the xml taglib.

If everyone could test against this build from CVS, that'd be great.

> Huge memory leak resulting from the use of ThreadLocal
> ------------------------------------------------------
>          Key: JELLY-148
>          URL:
>      Project: jelly
>         Type: Bug
>   Components: core / taglib.core
>     Versions: 1.0
>     Reporter: Hans Gilde
>     Priority: Critical
>      Fix For: 1.0
>  Attachments: jelly-nothreadlocal.ZIP, jelly-nothreadlocal2.ZIP, memory-leak-junit-test.txt,
thread-local-memory-leak-fix-demo-parent.txt, thread-local-memory-leak-fix-demo.txt, thread-local-memory-leak-fix-final-1.txt,
thread-local-memory-leak-fix-final-xml-tags.txt, thread-local-memory-leak-fix-final.txt,,
> There is a huge memory leak that results from the TagScript's use of ThreadLocal.
> ThreadLocal is usually used from a staic variable, while TagScript uses it from an instance
variable. Although this looks legal to me, it causes a huge memory leak.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

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

View raw message