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]

Re: .class code optimization


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


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