This is the mail archive of the java-patches@sources.redhat.com mailing list for the Java project.


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

Re: PATCH: object stream dumping


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


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