harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2739) [classlib][nio] CharsetDecoder leaks memory
Date Tue, 06 Feb 2007 09:15:05 GMT

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

Tony Wu commented on HARMONY-2739:
----------------------------------

Sorry I submit previous message by mistake.
The error is thrown when I ran the raw ICU3.6 on RI. Seems, it is caused by icu, but it fails
much faster on harmony than on RI.
the output on Harmony was,
 ....java.lang.RuntimeException: U_ILLEGAL_ARGUMENT_ERROR
	at com.ibm.icu4jni.common.ErrorCode.getException(ErrorCode.java:45)
	at com.ibm.icu4jni.charset.CharsetDecoderICU.implReplaceWith(CharsetDecoderICU.java:16)
	at java.nio.charset.CharsetDecoder.replaceWith(CharsetDecoder.java:722)
	at T.main(T.java:87)
FAILED
whereas on RI was,
..........................................................................java.lang.RuntimeException:
U_ILLEGAL_ARGUMENT_ERROR
FAILED
	at com.ibm.icu4jni.common.ErrorCode.getException(ErrorCode.java:45)
	at com.ibm.icu4jni.charset.CharsetDecoderICU.implReplaceWith(CharsetDecoderICU.java:106)
	at java.nio.charset.CharsetDecoder.replaceWith(CharsetDecoder.java:271)
	at T.main(T.java:87)




> [classlib][nio] CharsetDecoder leaks memory
> -------------------------------------------
>
>                 Key: HARMONY-2739
>                 URL: https://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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message