This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcj slower than JVM on RedHat/s390?


>>>>> "Andy" == Andy Faibishenko <AFAIBIS at transunion dot com> writes:

Andy> I have a small test program which I use as a benchmarking tool.
Andy> It doesn't use threads/jdbc/etc.. - i.e. plain vanilla java
Andy> code.  When I compiled it with GCJ I was surprised to find that
Andy> it takes up almost TWICE as much CPU time as the JVM version (as
Andy> reported by the time command).  I am trying to figure out why
Andy> this is.

Andy> Any suggestions would be greatly appreciated.

Your best bet would be to try to look at the generated assembly and
see what is happening.  We'd be interested in the results.

I'm not super surprised by your finding.  The IBM JIT is excellent.
Also, we haven't put a lot of time into optimizations.  There are
still improvements we could make...

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]