This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
does gcj do inlining when generating bytecodes?
- From: Adam Megacz <gcj at lists dot megacz dot com>
- To: java at gcc dot gnu dot org
- Date: 17 Dec 2001 09:35:05 -0800
- Subject: does gcj do inlining when generating bytecodes?
- Organization: Myself
I asked earlier if .java -> .o would inline, and the answer was
yes. Will GCJ inline small final/private methods within a single class
when compiling .java -> .class?
If so, that makes it the only remaining compiler that does
this... jikes won't even try, and javac >= 1.1 won't either (-O is
ignored starting with JDK1.2).
I've been using this rather crufty tool called "javago" that does
post-compilation inlining... it's okay, but sometimes it emits broken
bytecode.
- a