You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2005/03/29 09:40:03 UTC

DO NOT REPLY [Bug 28082] - XMLReaderManager provides neither no way to clear its cache nor it clears its cache by itself

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28082>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28082





------- Additional Comments From mparedes@azurian.cl  2005-03-29 09:40 -------
Created an attachment (id=14580)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14580&action=view)
XMLReaderManager using WeakHashMap

This is another aproach. Using a WeakHashMap to store XMLReaders, they will be
garbage collected when no one else references them.

As at least one is referenced by the ThreadLocal most of the time there is a
cached response to a getXMLReader Call.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

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