This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Re: PATCH: object stream dumping
- To: Bryce McKinlay <bryce at albatross dot co dot nz>
- Subject: Re: PATCH: object stream dumping
- From: Warren Levy <warrenl at cygnus dot com>
- Date: Fri, 24 Nov 2000 13:03:53 -0800 (PST)
- cc: java-patches at sources dot redhat dot com
On Sat, 25 Nov 2000, Bryce McKinlay wrote:
> Warren Levy wrote:
>
> > Or am I underestimating the ability of the compiler to optimize out calls
> > to the dumping code when --enable-libjava-debug is not set?
>
> Right now gcj probibly won't actually do it. But since DEBUG is a compile-time
> constant, it will be trivial for the optimizer to eliminate the calls once
> private method inlining is fully working, and we compile libgcj with -O.
Excellent, that's exactly the behavior I wanted. I think I only inferred
it before, but go ahead and check this in.
Thanks again, Bryce!
--warrenl