[esb-issues] [JBoss JIRA] Created: (JBESB-2490) Thread related InVM resources created by DefaultInVMReplyToEpr not being cleaned up on thread cleanup

Tom Fennelly (JIRA) jira-events at lists.jboss.org
Wed Mar 25 09:08:22 EDT 2009


Thread related InVM resources created  by DefaultInVMReplyToEpr not being cleaned up on thread cleanup
------------------------------------------------------------------------------------------------------

                 Key: JBESB-2490
                 URL: https://jira.jboss.org/jira/browse/JBESB-2490
             Project: JBoss ESB
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 4.5
            Reporter: Tom Fennelly
            Assignee: Tom Fennelly
             Fix For: 4.6


The DefaultInVMReplyToEpr class creates an InVMCourier + InVMEpr for handling async replies on a deliverSync over InVM.  It attaches these details to the active thread.  The logic at the time was that they could be reused.  The obvious flaw in the logic (hindsight) is that when the threads are pooled and the pool is persiodically cleaned... new threads are created... more InVmCouriers are created, resulting in the InVMCourier list (held by the CourierFactory) growing and growing.

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

        



More information about the esb-issues mailing list