harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2692) [drlvm] throwing exception in mixed mode leaks memory
Date Fri, 09 Feb 2007 11:30:05 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-2692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gregory Shimansky updated HARMONY-2692:
---------------------------------------

    Summary: [drlvm] throwing exception in mixed mode leaks memory  (was: [drlvm][jit] throwing
exception in mixed mode leaks memory)

It appears that the bug is not in JIT. Memory leak happens because exception throwing helper
allocates new handle for the exception object. Since this helper is called without M2N frame,
this local handle is allocated in the same frame which java program uses. When it is done
in a loop, these local handles are created infinitely.

> [drlvm] throwing exception in mixed mode leaks memory
> -----------------------------------------------------
>
>                 Key: HARMONY-2692
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2692
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows XP i686
>            Reporter: Salikh Zakirov
>         Attachments: BufferWrap.java, ExceptionLeakTest.java
>
>
> The function wrap() of nio buffers leaks memory when invoked with illegal arguments.
> When the attached test BufferWrap.java is run on DRLVM, it steadily increases used memory
until crash.

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