[
https://issues.apache.org/jira/browse/XERCESJ-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ludger Bünger updated XERCESJ-1300:
-----------------------------------
Attachment: WeakRangesPatch.txt
This patch changes the vector currently storing Ranges to a WeakHashMap (used
as Set with the Range as key and "null" as value) allowing for Range garbage
collection.
> Ranges should be garbage collectable if a range is not referenced by the main
> application anymore.
> --------------------------------------------------------------------------------------------------
>
> Key: XERCESJ-1300
> URL: https://issues.apache.org/jira/browse/XERCESJ-1300
> Project: Xerces2-J
> Issue Type: Improvement
> Components: DOM (Level 2 Traversal & Range)
> Affects Versions: 2.9.1
> Reporter: Ludger Bünger
> Priority: Trivial
> Attachments: WeakRangesPatch.txt
>
>
> Ranges should be garbage collectable if a range is 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]