This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: RFC: Disable RTL inlininer for Java?


On Thu, 30 May 2002, Bryce McKinlay wrote:
> In addition, the inliner has never really worked very well anyway - only 
> private/final/static methods that preceded the call in a class got 
> inlined, and methods from other classes never get inlined, afaik.

Actually when compiling multiple source files at once gcj can inline
reasonably well, but only if you let the integrator choose.  I've argued
before that automatically inlining every private/final/static method is
the wrong thing to do:

http://gcc.gnu.org/ml/java/2001-07/msg00279.html

For my local builds I've always disabled the Java inliner.

> It is unlikely that any bugs in the old inliner will be fixed since it 
> is no longer used by C and C++. So, I propose to disable inlining in GCJ 
> until we make it use the tree inliner.

Sounds good to me.

Jeff


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