why gcj is slower than jvm

Jeff Sturm jsturm@one-point.com
Wed Sep 3 06:35:00 GMT 2003


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



More information about the Gcc mailing list