This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: There is room for improvement
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.