This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RFC: caching for I/O converters


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 ]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]