In the Java Hotspot compiler, what the difference between initializing Java with -client
as opposed to -server
, and what are the pros/cons/caveats of each?
Nice information can be found in Oracle Documentation and Java Hotspot VM FAQ. Acording to them, a Java HotSpot Server VM:
On the other side, a Java HotSpot Client VM: