[infinispan-issues] [JBoss JIRA] (ISPN-6192) Short-term memory leak caused by RPCs that complete prior to their timeout

William Burns (JIRA) issues at jboss.org
Tue Feb 9 13:50:00 EST 2016


     [ https://issues.jboss.org/browse/ISPN-6192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Burns updated ISPN-6192:
--------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 8.2.0.CR1
                   8.1.2.Final
       Resolution: Done


> Short-term memory leak caused by RPCs that complete prior to their timeout
> --------------------------------------------------------------------------
>
>                 Key: ISPN-6192
>                 URL: https://issues.jboss.org/browse/ISPN-6192
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 8.2.0.Beta1, 8.1.1.Final
>            Reporter: Paul Ferraro
>            Assignee: Paul Ferraro
>            Priority: Blocker
>             Fix For: 8.2.0.CR1, 8.1.2.Final
>
>
> The CommandAwareRpcDispatcher uses the timeout executor to trigger the cancellation of an async rpc after some timeout.  However, in the event that the command executes prior to the timeout (i.e. most of the time), the task remains in the timeout executor's queue.  Consequently, the reference to the RspListFuture/SingleResponseFuture will remain in the executor's queue unnecessarily for the duration of the timeout.
> Using ScheduledThreadPoolExecutor.setRemoveOnCancelPolicy(true) should fix the problem.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list