This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: -O2 loop problems
- To: "green at cygnus dot com" <green at cygnus dot com>
- Subject: Re: -O2 loop problems
- From: Jeff Sturm <jsturm at detroit dot appnet dot com>
- Date: Sun, 24 Dec 2000 23:15:36 -0500 (EST)
- cc: "'java-discuss at sources dot redhat dot com'" <java-discuss at sources dot redhat dot com>
On Sat, 23 Dec 2000, Anthony Green wrote:
> I believe the work around for PR's 1159 and 1412 is to compile with
> -fno-defer-pop.
Thanks! I just built libgcj with -O2 and -fno-defer-pop. It is
measurably faster on my bench application, by about 15% than with the
"standard" standard runtime.
(It's a good sign that this app now runs at all... it contains around 160
classes and interfaces and exercises many parts of the runtime. The
gcj-compiled binary is not yet as fast as the JDK 1.3, but is very, very
close... about 4%. The upcoming allocator improvements could very
well make up the difference!)
> The loops are messed up because we're missing pending stack adjustments
> somewhere.
Could it be there is a NO_DEFER_POP missing somewhere? Just curious...
Jeff