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

[jira] Updated: (HARMONY-2697) [drlvm] Un-end()-ed deflaters leak native memory

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

Gregory Shimansky updated HARMONY-2697:
---------------------------------------

    Summary: [drlvm] Un-end()-ed deflaters leak native memory  (was: [drlvm][zip] Un-end()-ed deflaters leak native memory)

I removed [zip] category because it doesn't fully describe the problem of large native resources associated with java objects.

> [drlvm] Un-end()-ed deflaters leak native memory
> ------------------------------------------------
>
>                 Key: HARMONY-2697
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2697
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows XP i686
>            Reporter: Salikh Zakirov
>            Priority: Minor
>         Attachments: DeflateInflate.java
>
>
> The attached test DeflateInflate.java quickly leaks memory and crashes on DRLVM.
> The test works okay on J9 and HotSpot.
> Note, that JRockit also leaks memory and crashes.
> Effectively, the test creates huge amounts of java objects, which keep pointers to blocks allocated
> in native heap. The native heap is exhausted before java heap is filled, so no garbage collection
> occurs. Should the java collection occur, it would be able to detect unreachable finalizable objects,
> run finalizers, which in turn will free native memory.

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