Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Virtual Machines (JVM) and their performance comparison

I was wondering if there somebody knows if there are some benchmarks which compare the following jvms.

sun jvm vs. openjdk jvm vs. rockit jvm vs. j9 jvm vs. apache harmony.

Which one is has the best performance?

like image 935
markovuksanovic Avatar asked Jun 18 '10 19:06

markovuksanovic


3 Answers

The answer really depends on a number of your application characteristics. See here for an example: http://jmob.ow2.org/jvm.html

To get an idea of some common criteria, try Googling: jvm performance benchmark

like image 162
Vineet Avatar answered Oct 22 '22 23:10

Vineet


This one is pretty recent.

NOTE: Of course benchmarks are just that, a limited set of canned routines. They really do not give you a real view of the picture

like image 29
Romain Hippeau Avatar answered Oct 22 '22 23:10

Romain Hippeau


The answer is very hard, considering each JVM has different strengths and weaknesses.

I would look to the SPEC benchmarks - SPECjbb2005 & SPECjEnterprise2010 - they are current, peer reviewed and actively run by many companies (unlike the jmob.ow2.org benches, which were vaguely current in the Pentium 3 era!).

like image 3
Trent Gray-Donald Avatar answered Oct 22 '22 23:10

Trent Gray-Donald