You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Salikh Zakirov (JIRA)" <ji...@apache.org> on 2006/12/14 15:17:24 UTC
[jira] Updated: (HARMONY-2697) [drlvm][zip] Un-end()-ed deflaters
leak native memory
[ http://issues.apache.org/jira/browse/HARMONY-2697?page=all ]
Salikh Zakirov updated HARMONY-2697:
------------------------------------
Attachment: DeflateInflate.java
> [drlvm][zip] Un-end()-ed deflaters leak native memory
> -----------------------------------------------------
>
> Key: HARMONY-2697
> URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira