This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
why gcj is slower than jvm
- From: Andrew Haley <aph at redhat dot com>
- To: "guw" <guw at koal dot com>
- Cc: "gcc at gnu dot org" <gcc at gnu dot org>, "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 11:17:09 +0100
- Subject: why gcj is slower than jvm
- References: <200309030606.h8366al31582@mx1.redhat.com>
guw writes:
> Hello!
> 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.
> why?
My guess would be that libgcj's implementation of SHA-1 is slower than
that in whatever JVM you were using. I expect that SHA-1 could be
made to run very much faster.
Andrew.