This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: RFC: caching for I/O converters
- To: tromey at redhat dot com
- Subject: Re: RFC: caching for I/O converters
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Date: Wed, 30 May 2001 16:19:27 +1200
- CC: Java Patch List <java-patches at gcc dot gnu dot org>
- References: <87snhn7lir.fsf@creche.redhat.com>
Tom Tromey wrote:
> This patch adds caching for I/O (charset) converters. A customer
> reported to us that creating a new converter in some String methods
> causes a lot of garbage to be created if you do a lot of converting
> from bytes to characters.
>
> Any comments on the advisability of this? Or comments on this patch
> in particular? I'm not sure what the performance impact might be. It
> was important to them, but I don't know if their case is very common.
Would this fix the performance problem on Solaris that Martin Kahlert reported?
http://gcc.gnu.org/ml/java/2001-05/msg00110.html
Either way it sounds like a good change to me.
regards
[ bryce ]