You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/12/08 16:50:19 UTC

[jira] Closed: (FELIX-1833) Stopping the Felix SCR bundle may leave traces behind thus preventing the class loader from being GC-ed

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

Felix Meschberger closed FELIX-1833.
------------------------------------


SCR 1.2.0 has been released. Close all issues.

> Stopping the Felix SCR bundle may leave traces behind thus preventing the class loader from being GC-ed
> -------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1833
>                 URL: https://issues.apache.org/jira/browse/FELIX-1833
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.2.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: scr-1.2.0
>
>
> Apart from the ServiceReference issue with Garbage Collection (and clean system state) described by FELIX-1832, some other cases may happen preventing proper garbage collection and ultimately classloader removal.
> One such case is the ComponentActorThread class which extends Thread. There are some libraries wich keep references to threads and thus also to the ComponentActorThread (one such class is the Lucene ClosableThreadLocal class). This prevents the object from being collected and consequently the class loader from being collected.
> Also there are some fields in the BundleComponentActivator which must be cleared and -- most notably -- the LogService tracker should be closed and dropped.

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