JVM -Server -Client 模式

JVM -Server 与 -Client启动,最主要的差别在于:-Server启动时,速度较慢,但是一旦运行起来后,性能将会有很大的提升。

 

JVM如果不显式指定是-Server还是-Client模式,JVM能够根据下列原则进行自动判断(适用于Java5版本或者Java以上版本):

 

 

For J2SE 5.0, the definition of a server-class machine is one with at least 2 CPUs and at least 2GB of physical memory.
 
  JVM -Server -Client 模式
 
 
参考文献:

你可能感兴趣的:(java,jvm,html,J2SE,sun)