harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "weldon washburn (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2742) [drlvm] Memory leak in threading system.
Date Mon, 16 Apr 2007 04:34:15 GMT

    [ 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.


Mime
View raw message