kaffe hungs (code attached)
Dimitris Vyzovitis
poincare at the.forthnet.gr
Mon Mar 1 06:44:38 PST 1999
Hi,
I have tried running this simple benchamrk program, that runs under
blackdown's jdk1.1.7v1a.
However, kaffe-1.0b3 simply stops responding (hungs).
Is there a bug in there? I have compiled using jikes0.41
Thanx,
Dimitris
-------------- next part --------------
import java.util.*;
class testmain
{
public static void main(String argv[]) {
long start = System.currentTimeMillis();
int iterations = 10 * 1024 * 1024;
BitSet b = new BitSet();
for (int i=0; i<iterations; ++i) {
b.set(i);
}
long stop = System.currentTimeMillis();
float rate = iterations * 1000 / (stop - start);
System.out.println("seconds: " + ((stop - start) / 1000));
System.out.println("iterations/second: " + rate);
}
}
More information about the kaffe
mailing list