You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Ludger Bünger (JIRA)" <xe...@xml.apache.org> on 2008/04/07 15:28:24 UTC

[jira] Updated: (XERCESJ-1299) NodeIterators should be garbage collectable if the node iterators are not referenced by the main application anymore.

     [ https://issues.apache.org/jira/browse/XERCESJ-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ludger Bünger updated XERCESJ-1299:
-----------------------------------

    Attachment: WeakNodeIterator.txt

This patch changes the vector currently storing NodeIterators to a WeakHashMap (used as like set by the NodeIterator as key and "null" as value) allowing for NodeIterator garbage collection.

> NodeIterators should be garbage collectable if the node iterators are not referenced by the main application anymore.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1299
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1299
>             Project: Xerces2-J
>          Issue Type: Improvement
>          Components: DOM (Level 2 Traversal & Range)
>            Reporter: Ludger Bünger
>         Attachments: WeakNodeIterator.txt
>
>
> NodeIterators should be garbage collectable if the node iterators are not referenced by the main application anymore.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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