excalibur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shash Chatterjee (JIRA)" <...@excalibur.apache.org>
Subject [jira] Resolved: (EXLBR-20) org.apache.avalon.excalibur.thread.impl.DefaultThreadPool is not disposed properly.
Date Sat, 16 Apr 2005 15:28:00 GMT
     [ http://issues.apache.org/jira/browse/EXLBR-20?page=history ]
     
Shash Chatterjee resolved EXLBR-20:
-----------------------------------

    Resolution: Fixed

Date: Sat Apr 16 07:31:25 2005
New Revision: 161572

URL: http://svn.apache.org/viewcvs?view=rev&rev=161572
Log:
Pathc from: http://issues.apache.org/jira/browse/EXLBR-20
Fixes: 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. 

Modified:
    excalibur/trunk/components/thread/impl/src/java/org/apache/avalon/excalibur/thread/impl/DefaultThreadPool.java





> 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
>     Assignee: Shash Chatterjee
>     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: dev-unsubscribe@excalibur.apache.org
For additional commands, e-mail: dev-help@excalibur.apache.org


Mime
View raw message