Java 64 位是否比 32 位版本性能更好? [英] Does Java 64 bit perform better than the 32-bit version?
问题描述
我注意到 Sun 正在提供 64 位版本的 Java.它的性能是否比 32 位版本更好?
I noticed Sun is providing a 64-bit version of Java. Does it perform better than the 32-bit version?
推荐答案
定义您的工作量以及执行"对您的意义.
Define your workload and what "perform" means to you.
作为一个长期存在的性能极客,这对我来说是一种烦恼.特定更改是否表现更好"首先取决于工作负载,即您要求程序执行的操作.
This is sort of a running annoyance to me, as a performance geek of long standing. Whether or not a particular change "performs better" or not is dependent, first and foremost, on the workload, ie, what you're asking the program to do.
64 位 Java 通常在计算负载繁重的情况下表现更好.传统上,Java 程序具有繁重的 I/O 负载和繁重的网络负载;64 位与 32 位可能无关紧要,但操作系统通常会如此.
64 bit Java will often perform better on things with heavy computation loads. Java programs, classically, have heavy I/O loads and heavy network loads; 64 bit vs 32 bit may not matter, but operating systems usually do.
这篇关于Java 64 位是否比 32 位版本性能更好?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!