This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is Client VM?

 
Mallesham Karnati
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could someone explain what is meant by Java Hotspot client VM?
When you say 'client VM', does it mean that there are server VMs?
In what way it is different from regular Java VM, i.e. java.exe ?
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The client VM is the default.
You can set a flag to run the VM as server. Type "java -help" to see your options.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The difference is in the type of optimizations that get performed. The client VM is faster at startup, the server VM gets faster after some time with long running processes.
 
Mallesham Karnati
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Marylin and Ilja for your quick response. What is the significance of the term 'Hotspot' in Java Hotspot Clint VM?
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"HotSpot Engine" is Sun's name for the optimizer that got introduced with Java 1.2, if I remember correctly. "hotspot" is the term for a part of the code that is executed very much and therefore is important for the performance of the overall system. The "HotSpot Engine" is designed to concentrate on those hotspots for optimization purposes.

See http://java.sun.com/products/hotspot/ for more info.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic