[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to