What is JVM -server parameter?

后端 未结 4 763
借酒劲吻你
借酒劲吻你 2020-12-24 13:03

I saw Java -server in http://shootout.alioth.debian.org/ for programming language benchmark. I know that -server is a parameter for running JVM. I want to know:

When

4条回答
  •  半阙折子戏
    2020-12-24 13:49

    It just selects the "Server Hotspot VM". See documentation (Solaris/Linux) for java.

    According to Wikipedia:

    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.

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

提交回复
热议问题