This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: RFC: Disable RTL inlininer for Java?
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Cc: java at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Thu, 30 May 2002 11:38:42 -0400 (EDT)
- Subject: 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