You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "weldon washburn (JIRA)" <ji...@apache.org> on 2007/04/16 06:34:15 UTC

[jira] Commented: (HARMONY-2742) [drlvm] Memory leak in threading system.

    [ https://issues.apache.org/jira/browse/HARMONY-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489003 ] 

weldon washburn commented on HARMONY-2742:
------------------------------------------

Back in January Salikh said, "A simple counter shows that inflating monitors contributes a significant share of the memory being leaked on ManyThreadsTest."

I measured the amount of memory each monitor inflate consumes.  From what I can tell, its only 4 bytes.  While we ultimately need to fix this leak, the 4 bytes lost on monitor fat lock inflate is insignificant in the face of the 10KB lost on every thread create.  We first need to fix the 10KB memory leak on each thread create.

> [drlvm] Memory leak in threading system.
> ----------------------------------------
>
>                 Key: HARMONY-2742
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2742
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Afremov
>         Assigned To: weldon washburn
>         Attachments: ManyThreadsTest.java
>
>
> Creating, starting and joining thread is source of memory leak. This leak is not fixed by patch from HARMONY-2437.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.