我注意到 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位版本?
发布评论