This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: much smaller bytecode with gcj?
- From: Brian Alliet <brian at brianweb dot net>
- To: java at gcc dot gnu dot org
- Cc: core at xwt dot org
- Date: Sat, 29 Nov 2003 03:29:18 -0500
- Subject: Re: much smaller bytecode with gcj?
- References: <m165h3zzgf.fsf@megacz.com>
On Nov 28, 2003, at 9:21 PM, Adam Megacz wrote:
I've mentioned mips2java here before. Strangely, gcj -O3 emits *much*
smaller bytecode than either javac or jikes when compiling the output
from our tool. Any ideas why this might be? The difference is
striking:
Its just debugging info. Turns out compiling with -O anything
automatically adds -g0. It looks like this just eliminates line number
from the classfile.
-Brian