This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

does gcj do inlining when generating bytecodes?



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]