PATCH: object stream dumping

Warren Levy warrenl@cygnus.com
Fri Nov 24 13:03:00 GMT 2000


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



More information about the Java-patches mailing list