does gcj do inlining when generating bytecodes?

Adam Megacz gcj@lists.megacz.com
Mon Dec 17 09:40:00 GMT 2001


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /