Real differences between “java -server” and “java -client”?

前端 未结 11 2107
旧时难觅i
旧时难觅i 2020-11-22 03:52

Is there any real practical difference between \"java -server\" and \"java -client\"?

All I can find on Sun\'s site is a vague

\"-server st

11条回答
  •  广开言路
    2020-11-22 04:43

    IIRC the server VM does more hotspot optimizations at startup so it runs faster but takes a little longer to start and uses more memory. The client VM defers most of the optimization to allow faster startup.

    Edit to add: Here's some info from Sun, it's not very specific but will give you some ideas.

提交回复
热议问题