You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org> on 2007/04/30 14:26:15 UTC

[jira] Resolved: (QPID-476) AMQProtocolSession channelId2SessionMap does not have sessions removed

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

Rob Godfrey resolved QPID-476.
------------------------------

    Resolution: Fixed

Completed: At revision: 533721  


> AMQProtocolSession channelId2SessionMap does not have sessions removed
> ----------------------------------------------------------------------
>
>                 Key: QPID-476
>                 URL: https://issues.apache.org/jira/browse/QPID-476
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M2
>            Reporter: Rob Godfrey
>         Assigned To: Rob Godfrey
>             Fix For: M2
>
>
> The map from channelId to AMQSession in AMQProtocolSession is not updated when sessions are closed, hence the AMQSession objects are still referenced and will never be GC'd.
> The map is, anyway, duplicated with another map inside AMQConnection (_sessions).
> Solution: remove the duplicate map inside AMQProtocolSession and only use the map inside AMQConnection

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