[kaffe] -O4 jit3 problem

Godmar Back gback@stanford.edu
Tue, 4 Jun 2002 21:10:48 -0600 (MDT)


> > Do strings sometimes share underlying char arrays?  That would make
> > the explicit alloc/dealloc scheme more difficult, too.
> 
> Yes (I think).. e.g., if created using the StringBuffer class.
> 

Yes, don't do that.

It would mean you'd have to walk on egg shells when programming String
and related classes in Java.  Also, to unintern the string you don't
have to access its content (or do you?)  Isn't that what Tim suggested?

	- Godmar