harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1761) [DRLVM]Memory leak in thread creation
Date Fri, 06 Oct 2006 15:42:20 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1761?page=all ]

Nikolay Kuznetsov updated HARMONY-1761:

    Attachment: HARMONY-1761.patch

Attached patch fixes memory this memory leak in thread creation. It's possible to create more
than million treads for now. Unfortunately attached example still shows some leakage, which
requires additional investigation, while I believe that it's not connected with threading.

> [DRLVM]Memory leak in thread creation
> -------------------------------------
>                 Key: HARMONY-1761
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1761
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Nikolay Kuznetsov
>         Attachments: HARMONY-1761.patch, Test.java
> During every single thread creation we create APR pool to allocate structure containing
parameters for new thread run method. This pool is never being reused or destroyed and costs
8k for every thread being created.

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
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message