org.apache.avalon.excalibur.thread.impl.DefaultThreadPool is not disposed 
properly.
-----------------------------------------------------------------------------------

         Key: EXLBR-20
         URL: http://issues.apache.org/jira/browse/EXLBR-20
     Project: Excalibur Components
        Type: Bug
  Components: Thread  
    Reporter: Pawel Stawicki
    Priority: Minor


DefaultThreadPool extends ThreadGroup. When it is created and added to parent 
ThreadGroup, ThreadGroup holds reference to it. When dispose is called, parent 
ThreadGroup still has reference to it and garbage collector can not collect it. 
It causes memory leak.

This can be solved by calling destroy() in dispose method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to