harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Salikh Zakirov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2742) [drlvm] Memory leak in threading system.
Date Fri, 19 Jan 2007 13:20:30 GMT

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

Salikh Zakirov commented on HARMONY-2742:

As it turns out, recycling thread-local pools does not result in memory usage reduction, however,
can result in instable behavior, as some synchronization objects are allocated out from these
pools. For example, fat monitors may outlive the thread in context of which they were created.

A simple counter shows that inflating monitors contributes a significant share of the memory
being leaked on ManyThreadsTest. 

> [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
>         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.
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message