[jboss-jira] [JBoss JIRA] (JGRP-1632) TP.ProtocolAdapter remaining in memory after diconnect

Bela Ban (JIRA) jira-events at lists.jboss.org
Mon May 27 09:14:47 EDT 2013


    [ https://issues.jboss.org/browse/JGRP-1632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777149#comment-12777149 ] 

Bela Ban commented on JGRP-1632:
--------------------------------

The reason is that ProtocolStack.stopStack(), which is called on disconnect(), does remove the TP$ProtocolAdapter from TP.up_prots, but it doesn't remove the link from the protocol *above* the adapter to the adapter. We therefore create an adapter to the adapter on the next connect().
FIX: when removing the adapter from up_prots, set adapter.getUpProtocol().setDownProtocol(transport)
                
> TP.ProtocolAdapter remaining in memory after diconnect
> ------------------------------------------------------
>
>                 Key: JGRP-1632
>                 URL: https://issues.jboss.org/browse/JGRP-1632
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 3.2.8
>            Reporter: Razvan Jurca
>            Assignee: Bela Ban
>             Fix For: 3.4
>
>
> When I try to disconnect a channel and latter connect it again, I get a lot of TP.ProtocolAdapters remaining in memory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list