aspose file tools*
The moose likes Beginning Java and the fly likes What is Client VM? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What is Client VM?" Watch "What is Client VM?" New topic
Author

What is Client VM?

Mallesham Karnati
Ranch Hand

Joined: May 11, 2005
Posts: 40
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

Joined: Jul 22, 2000
Posts: 9044
    
  10
The client VM is the default.
You can set a flag to run the VM as server. Type "java -help" to see your options.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
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.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Mallesham Karnati
Ranch Hand

Joined: May 11, 2005
Posts: 40
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

Joined: Jul 11, 2001
Posts: 14112
"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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is Client VM?