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] Commented: (HARMONY-2739) [classlib][nio] CharsetDecoder leaks memory
Date Fri, 22 Dec 2006 13:40:27 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2739?page=comments#action_12460472 ] 
            
Salikh Zakirov commented on HARMONY-2739:
-----------------------------------------

Unfortunately, I don't know what in particular causes memory footprint to grow unbounded.
The following change in test leads to a stable memory footprint (i.e. with replaceWith() commented
out, the used memory is not growing unbounded)
--- Dec.java.orig       2006-12-22 16:24:25.290379100 +0300
+++ Dec.java    2006-12-22 16:24:26.962750500 +0300
@@ -10,3 +10,3 @@
                 CharsetDecoder cd = cs.newDecoder();
-                cd = cd.replaceWith("a");
+                //cd = cd.replaceWith("a");
                 String str = "abc";


> [classlib][nio] CharsetDecoder leaks memory
> -------------------------------------------
>
>                 Key: HARMONY-2739
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2739
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Windows XP i686
>            Reporter: Salikh Zakirov
>         Attachments: Dec.java
>
>
> The attached test Dec.java results in used memory constanly growing.
> The leak is reproducible on both J9 + Harmony and DRLVM.
> There is no leak if the test is run on Hotspot or JRockit.

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

        

Mime
View raw message