You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/09 14:14:00 UTC
[jira] [Commented] (ARTEMIS-1593) RemotingConnectionImpl leaks
[ https://issues.apache.org/jira/browse/ARTEMIS-1593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16318466#comment-16318466 ]
ASF GitHub Bot commented on ARTEMIS-1593:
-----------------------------------------
GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/1760
ARTEMIS-1593 RemotingConnectionImpl leaks
FileNameKey was holding a reference to PropertiesLoader.this due to its inner class definition, causing RemotingConnectionImpl to leak through a long chain of dependencies rooted in a PropertiesLoader's subclass property ie PropertiesLoaderModule::callbackHandler.
FileNameKey is turned into a inner static class to break this hidden dependency.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis ARTEMIS-1593
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1760.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1760
----
commit ca7e0a1e6fc088e17e3c907e974ef7e57db752f3
Author: Francesco Nigro <ni...@...>
Date: 2018-01-09T14:12:44Z
ARTEMIS-1593 RemotingConnectionImpl leaks
FileNameKey was holding a reference to PropertiesLoader.this due to its inner class definition, causing RemotingConnectionImpl to leak through a long chain of dependencies rooted in a PropertiesLoader's subclass property ie PropertiesLoaderModule::callbackHandler.
FileNameKey is turned into a inner static class to break this hidden dependency.
----
> RemotingConnectionImpl leaks
> ----------------------------
>
> Key: ARTEMIS-1593
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1593
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
>
> RemoteConnectionImpl is not GC on client disconnects
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)