引用: 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處理數(shù)學運算速度最快,BEA JVM處理大量線程和網(wǎng)絡(luò)socket性能最好,而Sun JVM處理通常的商業(yè)邏輯性能最好。不過Hotspot的Server mode被報告有穩(wěn)定性的問題。而他尚未有機會嘗試一下最新的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、網(wǎng)絡(luò)服務(wù)處理能力測試
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