Hi,
I work for Intel's Microprocessor Research Lab. Our group has been doing
research on performance of type-safe languages. We are porting a JVM we
built to Linux and have been working with a June 2000 snapshot of GNU
Classpath.
We have been using SpecJVM98 to evaluate our research in JIT and GC
technologies. Does anyone on the list have experience in using SpecJVM with
GNU Classpath? So far, we found one bug in java.lang.String. The fix
included below is needed to make _209_db run.
However, _202_jess, _213_javac and _227_mtrt do not currently run. For
_202_jess there seems to be problems with java.io.StreamTokenizer. I was
unsuccessful in fixing StreamTokenizer. Has anyone else experienced these
problems?
Also, I noticed a posting last December by Paul Fisher that libgcj and GNU
Classpath would merge
(http://www.mail-archive.com/classpath%40gnu.org/msg01889.html). Is this
still the case?
Thanks
Weldon Washburn
Intel Microprocessor Research Lab
==========================================
public String(byte[] ascii, int hibyte, int offset, int count)
throws NullPointerException, IndexOutOfBoundsException {
if (offset < 0 || count < 0 || offset+count > ascii.length)
throw new StringIndexOutOfBoundsException();
//this.count = count-offset; <<<<<<< broken
this.count = count; // proposed fix
value = new char[count];
for (int i = 0; i < count; i++)
value[i] = (char) (((hibyte & 0xff) << 8) | (ascii[i+offset] & 0xff));
}