我正在设置生产服务器 Windows 2008 64 位,具有 8GB RAM 和 4 核 Xeon CPU。它将有一些预言机服务和 Glassfish。我想知道是否值得安装 64 位 jvm 还是保留 32 位? 我们将运行电子商务应用程序并为 100 个用户/天做好准备。我们还使用jpa缓存。 64位jvm会更快吗?
最佳答案
HotSpot FAQ似乎暗示它会变慢(如果有的话):
The performance difference comparing an application running on a 64-bit platform versus a 32-bit platform on SPARC is on the order of 10-20% degradation when you move to a 64-bit VM. On AMD64 and EM64T platforms this difference ranges from 0-15% depending on the amount of pointer accessing your application performs.
关于java - JVM 和 Glassfish 32 位与 64 位,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8073525/