This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: inlining methods
Alexandre Petit-Bianco wrote:
<snip>
> With this patch, I verified that at least `static int foo (int a, int
> b){ return a+b; }', provided that it is declared before it is used,
> gets inlined.
Very nice. I was able to build a large source tree with -O3 after
applying this patch. The code size grew by some 20% so it would seem
that inlining is taking place. I verified that it is working for
private methods, at least.
--
Jeff Sturm
jsturm@sigma6.com