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] Commented: (HARMONY-1761) [DRLVM]Memory leak in thread creation
Date Mon, 16 Oct 2006 07:59:36 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1761?page=comments#action_12442497 ] 
            
Nikolay Kuznetsov commented on HARMONY-1761:
--------------------------------------------

Geir, 
codebase has changed so much sine Invokation API applied, the patch is not applicable any
more. The memory pool it was fighting with is not being created any more. Currently we have
a memory leak of about 32 bytes per thread. It's not so critical for now, but I will redo
the patch to reuse this memory for new threads shortly.

Nik.

> [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
>         Assigned To: Geir Magnusson Jr
>         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

        

Mime
View raw message