felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FELIX-5051) Memory leak in eventadmin
Date Wed, 23 Sep 2015 14:23:04 GMT

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

Guillaume Nodet reassigned FELIX-5051:
--------------------------------------

    Assignee: Guillaume Nodet

> Memory leak in eventadmin
> -------------------------
>
>                 Key: FELIX-5051
>                 URL: https://issues.apache.org/jira/browse/FELIX-5051
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>
> From debugging through the code, it seems that entries get added to the org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks#m_running_threads
 (java.util.concurrent.ConcurrentHashMap) but not removed. 
> In org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks.TaskExecuter#run() the call
to remove is trying to remove the "object" rather than the key. This does not remove anything
from the map. 
> {code}
>   public void run()
>         {
>           ...
>                         this.m_running_threads.remove(this);
>            ...
>             } while ( running );
>         }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message