From: Godmar Back (gback@cs.utah.edu)
Date: Sat Dec 19 1998 - 18:39:20 EST
>
> In String.java:
>
> final public class String implements Serializable
> {
> char[] value;
> int offset;
> int count;
> int hash;
> boolean interned;
>
> ...
>
> I don't see "interned" ever being set anywhere... ie, this is a
> bug. It looks like the fix is to add "interned" to java_lang_String.h
> and set it to true in internJavaString().
Yes, this looks like another victim of the last TVT merge.
>
> Also, why does java_lang_String.h have this structure "data"?
> Why can't java_lang_String.h just be equal to the output of kaffeh?
> Is this some kind of holdover from long ago?
Possibly. I'd say try a kaffeh-generated file and see where this gets
you with string.c.
I just tried CaffeineMark 3.0, and kaffe's string score is weaker than
FreeBsd's jdk port 1.1.6... So short of breaking it, there's no damage
you can do to string handling in kaffe.
- Godmar
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:24 EDT