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

前端 未结 11 2132
旧时难觅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:44

    When doing a migration from 1.4 to 1.7("1.7.0_55") version.The thing that we observed here is, there is no such differences in default values assigned to heapsize|permsize|ThreadStackSize parameters in client & server mode.

    By the way, (http://www.oracle.com/technetwork/java/ergo5-140223.html). This is the snippet taken from above link.

    initial heap size of 1/64 of physical memory up to 1Gbyte
    maximum heap size of ¼ of physical memory up to 1Gbyte
    

    ThreadStackSize is higher in 1.7, while going through Open JDK forum,there are discussions which stated frame size is somewhat higher in 1.7 version. It is believed real difference could be possible to measure at run time based on your behavior of your application

提交回复
热议问题