[jboss-remoting-issues] [JBoss JIRA] Commented: (JBREM-933) Fix memory leak in RemotingRMIClientSocketFactory

Ron Sigal (JIRA) jira-events at lists.jboss.org
Mon Mar 17 04:20:50 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBREM-933?page=comments#action_12403092 ] 
            
Ron Sigal commented on JBREM-933:
---------------------------------

There is another leak:  RemotingRMIClientSocketFactory.createSocket() stores a SocketFactory in the static map socketFactories.  RemotingRMIClientSocketFactory.removeLocalConfiguration() cleans both static maps: configMaps and socketFactories.

Unit tests
: 
 * org.jboss.test.remoting.transport.rmi.socketFactory.RMIClientSocketFactoryMemoryLeakTestCase
 * org.jboss.test.remoting.transport.rmi.ssl.socketFactory.SSLRMIClientSocketFactoryMemoryLeakTestCase

Waiting for results in hudson.

> Fix memory leak in RemotingRMIClientSocketFactory
> -------------------------------------------------
>
>                 Key: JBREM-933
>                 URL: http://jira.jboss.com/jira/browse/JBREM-933
>             Project: JBoss Remoting
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions:  2.4.0.Beta2 (Pinto)
>            Reporter: Ron Sigal
>         Assigned To: Ron Sigal
>             Fix For: 2.4.0.CR1 (Pinto)
>
>
> org.jboss.remoting.transport.rmi.RMIClientInvoker.handleConnect() stores the configuration map for later use by the RemotingRMIClientSocketFactory.  RMIClientInvoker.handleDisconnect() should remove the configuration map.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-remoting-issues mailing list