You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Beliaev (JIRA)" <ji...@apache.org> on 2007/12/30 20:06:43 UTC
[jira] Commented: (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:comment-tabpanel#action_12555016 ]
Vladimir Beliaev commented on HARMONY-2697:
-------------------------------------------
Mikhail is right - attached DeflateInflate test has passed both with J9 & DRLVM on M4 revisions:
$ ~/trunk/working_classlib/deploy/jdk/jre/bin/java -cp . DeflateInflate
....................................................................................................PASSED
$ ~/trunk/working_vm/build/deploy/jdk/jre/bin/java -cp . DeflateInflate
....................................................................................................PASSED
This bug may be closed as a DUPLICATE of HARMONY-2530.
Thanks
Vladimir
> [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.