java.exe的服务器选项 [英] Server option for java.exe

查看:108
本文介绍了java.exe的服务器选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

服务器和客户端热点之间有什么区别.是否有任何理由将生产环境切换到-server.请分享您的实践经验.是否有任何性能提升?关于Oracle UCM 10g

What is the difference between server and client Hotspot. Is there any reason to switch production environment to -server. Please share your practical experience. Is there any performance boost? Related to Oracle UCM 10g

推荐答案

是的,在某些情况下,性能可能会大大提高.在对我的协议缓冲区实现进行基准测试时,我将其与Java实现进行了比较-我感到非常高兴,直到我打开-server ...并看到Java性能翻了一番.我不知道它所做的每件事的细节,但是基本上它可以使JIT更加努力地工作,因为它希望代码可以运行更长的时间.

Yes, there can be a huge performance boost in some cases. When benchmarking my Protocol Buffers implementation, I was comparing it against the Java implementation - and I was really pleased, until I switched on -server... and saw the Java performance double. I don't know the details of everything it does, but basically it lets the JIT work harder, as it expects the code to be running for longer.

我当然不会在所有应用程序中都遇到这种情况,但这可能会带来很大的不同.当然,除非您的应用程序已在JVM上受CPU限制,否则不会有太大影响.我没有使用Oracle UCM的经验,所以不能说它将对您的特定用途产生多大的影响.您是否已经对系统瓶颈的位置进行了适当的分析?

I wouldn't expect that to be the case in every application of course, but it can make a big difference. Of course, it won't have much effect unless your application is already CPU-bound on the JVM. I have no experience with Oracle UCM, so couldn't say how much effect it will have on your specific use. Have you already performed appropriate analysis of where the bottleneck in your system is?

这篇关于java.exe的服务器选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆