This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: why gcj is slower than jvm
- From: Jeff Sturm <jsturm at one-point dot com>
- To: guw <guw at koal dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 3 Sep 2003 02:34:50 -0400 (EDT)
- Subject: Re: why gcj is slower than jvm
On Wed, 3 Sep 2003, guw wrote:
> I write a JAVA programme and compile it with GCJ. then I compare
> GCJ's performance with JVM'performance,but I discover that the procedure
> to be GCJ compiled is slower than JVM.
Your example is more of a comparison of runtime performance than compiler
optimization. From your results one might conclude that the JVM has a
better MD-5 implementation than libjava, but little else.
Jeff