cross-module inlining (was Re: using gcj for a different language - is it possible?)
Jeff Sturm
jsturm@one-point.com
Mon Feb 9 15:56:00 GMT 2004
On Mon, 9 Feb 2004, Cedric Berger wrote:
> >Similarly in Java, why not leave the most aggressive optimizations for the
> >main executable (non-PIC) and stick to conservative binary-compatible
> >optimizations for libraries? Does binary compatibility really matter for
> >non-library code?
> >
> >
> Depends if your main executable call external libraries that can
> get upgraded by the end-user I guess....
Calls to libraries should not be eligible for inlining (except for special
cases). With the compile-everything-at-once scheme Andrew mentioned,
that's what you get: inlining will only occur between classes that wind up
in the same object file.
Jeff
More information about the Java
mailing list