harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Beliaev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2697) [drlvm] Un-end()-ed deflaters leak native memory
Date Tue, 22 May 2007 14:07:16 GMT

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

Vladimir Beliaev commented on HARMONY-2697:
-------------------------------------------

The issue is still reproducible May 22 on Windows/x86 like:

Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors,
as applicable.
java version "1.5.0" 
pre-alpha : not complete or compatible
svn = r539322, (May 18 2007), Windows/ia32/msvc 1310, debug build
http://incubator.apache.org/harmony
.....java.lang.IllegalArgumentException: 
        at java.util.zip.Deflater.createStream(Deflater.java)
        at java.util.zip.Deflater.<init>(Deflater.java:112)
        at DeflateInflate.main(DeflateInflate.java:8)
FAILED

Thanks
Vladimir Beliaev

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


Mime
View raw message