What is client and server mode execution of JVM ?

The Sun/Oracle HotSpot Java Virtual Machine is available for use in two flavors – the Client VM and the Server VM. The VM to be used can be specified by the -server and -client switches passed when starting the JVM with the java command.

The default VM when no switch is specified is the Client VM.

The difference, in a nutshell, is that the Client VM is optimized for fast load times at the cost of runtime performance.The Server VM is built for aggressive optimization for runtime performance at the cost of slower load time.

core java 12

FOLLOW US ON LinkedIn



Explore Tutu'rself