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: cross-module inlining (was Re: using gcj for a different language- is it possible?)


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


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