gpt4 book ai didi

java - 什么是 JVM -server 参数?

转载 作者:IT老高 更新时间:2023-10-28 21:15:03 25 4
gpt4 key购买 nike

我在 http://shootout.alioth.debian.org/ 中看到了 Java 服务器用于编程语言基准。我知道 -server 是运行 JVM 的参数。我想知道:

我们什么时候使用-server参数,它是如何工作的?我们可以在java桌面应用程序中使用这个参数吗?

谢谢。

最佳答案

它只是选择“服务器热点虚拟机”。见 documentation (Solaris/Linux)对于 java

根据维基百科:

Sun's JRE features 2 virtual machines, one called Client and the other Server. The Client version is tuned for quick loading. It makes use of interpretation, compiling only often-run methods. The Server version loads more slowly, putting more effort into producing highly optimized JIT compilations, that yield higher performance.

见:http://en.wikipedia.org/wiki/HotSpot

关于java - 什么是 JVM -server 参数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5272674/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com