big project ported
Anthony Green
green@cygnus.com
Wed Oct 20 16:32:00 GMT 1999
Steve wrote:
> --> If you gcj folks can suggest some additional tests, maybe I can help
> find out what's awry.
A few simple ideas to start with:
- The java code in libgcj is still compiled without optimization
enabled. No good reason why really. Start by compiling it with
-O2.
- I believe Jeff Sturm hacked the gc code to start off with a larger
heap size and that made a big difference for him. Now that we have
system properties working, we should make a property for initializing
this. Jeff, can you offer some guidance here?
- I'm guess your app does lots of array accesses. We have sub-optimal
runtime checking code, and the compiler is still not so smart about
automatically removing array checks. If you're code is ready,
and it doesn't rely on them, try compiling with --no-bounds-check.
AG
--
Anthony Green Cygnus Solutions
Sunnyvale, California
More information about the Java
mailing list