引用: Every application is different, so there is no single "best JVM." These JVMs only compete on the x86 platform anyway, and they perform differently on Windows and Linux. The IBM JVM has been mUCh faster at math (all number PRocessing it seems) compared to the Sun JVM. The jRockit JVM has been much better at handling large numbers of threads and sockets. The Sun JVM has been the fastest at general business logic running in server mode, but there used to be stability issues with the hotspot server mode that prevented its use for many server applications.
To be honest, with the above exception noted, we've seen the most stability and least weird behavior with the Sun JVMs. I haven't had a chance to look at the latest BEA release, though, and it's probably the one that's been improving the fastest.
IBM JVM处理数学运算速度最快,BEA JVM处理大量线程和网络socket性能最好,而Sun JVM处理通常的商业逻辑性能最好。不过Hotspot的Server mode被报告有稳定性的问题。而他尚未有机会尝试一下最新的JRockit。
VolanoMark version = 2.5.0.9 Messages sent = 20000 Messages received = 380000 Total messages = 400000
代码: Sun JDK1.4.2
Average throughput = 8848 messages per second Average throughput = 8060 messages per second Average throughput = 8046 messages per second
代码: IBM JDK1.4.1
Average throughput = 15620 messages per second Average throughput = 17665 messages per second Average throughput = 15666 messages per second
代码: BEA JRockit1.4.2
Average throughput = 16549 messages per second Average throughput = 15564 messages per second Average throughput = 15736 messages per second
2、网络服务处理能力测试
VolanoMark version = 2.5.0.9 Messages sent = 10000 Messages received = 190000 Total messages = 200000
代码: BEA JRockit1.4.2
Average throughput = 3938 messages per second Average throughput = 3290 messages per second Average throughput = 3648 messages per second Average throughput = 3328 messages per second
代码: Sun JDK1.4.2
Average throughput = 2225 messages per second Average throughput = 2163 messages per second Average throughput = 2080 messages per second