You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Eitan Plotnik (JIRA)" <ji...@apache.org> on 2009/01/22 13:05:59 UTC
[jira] Updated: (MUSE-296) Memory leak in AbstractCapability.java
prevents resources from being garbage collected
[ https://issues.apache.org/jira/browse/MUSE-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eitan Plotnik updated MUSE-296:
-------------------------------
Attachment: diff.txt
> Memory leak in AbstractCapability.java prevents resources from being garbage collected
> --------------------------------------------------------------------------------------
>
> Key: MUSE-296
> URL: https://issues.apache.org/jira/browse/MUSE-296
> Project: Muse
> Issue Type: Bug
> Components: Core Engine - Resource and Capability APIs
> Affects Versions: 2.2.0
> Reporter: Eitan Plotnik
> Assignee: Dan Jemiolo
> Attachments: diff.txt
>
>
> Circular dependency in AbstractCapability.java prevents resources from being garbage collected.
> AbstractCapability has a reference to Resource (_resource variable).
> SimpleResource holds references back to capabilities from _capabilitiesByURI map.
> Solution is to declare the _resource in AbstractCapability to be WeakReference.
> Diff file attached.
--
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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org