[kaffe] -O4 jit3 problem

Godmar Back gback at cs.utah.edu
Tue Jun 4 20:10:48 PDT 2002

> > 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

More information about the kaffe mailing list