This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj optimization situation?
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Subject: Re: gcj optimization situation?
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Fri, 9 Nov 2001 10:55:12 -0500 (EST)
- cc: java at gcc dot gnu dot org
On 8 Nov 2001, Adam Megacz wrote:
> > Try multiple sources (i.e. gcj -C *.java) for comparison.
>
> Yeah, I've been having trouble with that -- my gcj 3.0.2 hangs when I
> feed it lots of source files. Could somebody else try this:
>
> wget http://www.megacz.com/gcj-test.tgz
> tar xvzf gcj-test.tgz
> cd gcj-test/
> gcj -C `find . -name \*.java` --CLASSPATH=
>
> It will spit out 136 .class files and then freeze...
My gcj (from 3.1 development sources) passed your test easily. I don't
have 3.0.2 built at the moment.
In fact I tried both javac and gcj (adding gnu/gcj/RawData for the
former). Javac completed in 16 seconds; gcj in 8 seconds. So I think
gcj isn't doing too badly.
Jeff