PATCH: re-enable static initializer optimization

Per Bothner per@bothner.com
Thu Dec 6 13:56:00 GMT 2001


Alexandre Petit-Bianco wrote:

> Have you verified it optimizes static class initialization like it
> used to do it before?

Yes, I should have mentioned the following:

What I have done is compiled the same case you gave in the
message you pointed me at, using -O3 -fno-inline.  I got
the identical assembly output for the 'bar' method.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/



More information about the Java mailing list