commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Heath (JIRA)" <j...@apache.org>
Subject [jira] Updated: (VFS-143) Fix memory leak in DelegateFileObject in it's handling of listeners
Date Mon, 14 May 2007 14:16:16 GMT

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

Adam Heath updated VFS-143:
---------------------------

    Attachment: fix_DelegateFile-listener-leak.patch

Against svn 501759.

> Fix memory leak in DelegateFileObject in it's handling of listeners
> -------------------------------------------------------------------
>
>                 Key: VFS-143
>                 URL: https://issues.apache.org/jira/browse/VFS-143
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Adam Heath
>         Attachments: fix_DelegateFile-listener-leak.patch
>
>
> DelegateFileObject adds itself as a listener to the wrapped file.  This adds a *hard*
reference to the DelegateFileObject, which prevents it from being garbaged collected.  So,
create a WeakRefFileListener proxy, to solve the problem.

-- 
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message