RE: JavaMemoryModel: Mutually exclusive goals for Java memory model

From: Miles Sabin (msabin@interx.com)
Date: Thu Apr 18 2002 - 10:04:33 EDT


Bill Pugh wrote,
> * Look at introducing a new unsynchronized string buffer class
> and changing javac to use the new class (and a couple of other
> improvements, to do things like minimize the number of times
> the unsynchronized string buffer is resized. Although it would
> effect only newly compiled code, I suspect we could get enough
> performance gains to overcome any loss from the copying.

I must admit that this strikes me as being independently valuable,
if only because it might open up some opportunities for better
integration of StringBuffers (and maybe Strings) with the new
java.nio.CharBuffers.

Cheers,

Miles

-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel



This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:39 EDT