.class code optimization

Adam Megacz gcj@lists.megacz.com
Fri Oct 11 17:48:00 GMT 2002


Tom Tromey <tromey@redhat.com> writes:
> Adam> Hrm, come to think of this, inter-class inlining could be a big
> Adam> advantage for gcj. I can't see how a JIT could ever support it.

> What difficulties do you forsee?

Argh, I was thinking of inlining at the javac stage. You're right,
the JIT can certainly still do this.
> With gcj cross-class inlining will always have to break Java binary
> compatibility. With a JIT this isn't so.

Yes. I guess inlining within a 'compilation unit' would be ideal.
Thus, if you pass your entire source tree to gcj in one invocation,
you'll get inter-class inlining.
 - a
-- 
"Through your rags I see your vanity" -- Socrates


More information about the Java mailing list

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