There is room for improvement

Andrew Haley aph@cambridge.redhat.com
Thu Jan 10 03:11:00 GMT 2002


Martin Kahlert writes:
 > Ooops, sorry i forgot the most important thing:
 > Sun's jdk1.2 does the job (using the java interpreter)
 > in nearly half of the time: 13.3 sec
 > Hence the subject of the previous mail.
 > 
 > IIRC, this version uses a JIT compiler.

Well, we should find out why this is.  We are constrained from
reverse-engineering Sun's implementation, so we should be careful
here.

The only explanation I can thik of for the lack of improvement with -O
is that the program spends most of its time in the library.

Andrew.



More information about the Java mailing list