harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Salikh Zakirov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2697) [drlvm][zip] Un-end()-ed deflaters leak native memory
Date Thu, 14 Dec 2006 14:17:21 GMT
[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
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
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


View raw message