aspose file tools*
The moose likes Performance and the fly likes Questions on HotSpot Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Questions on HotSpot" Watch "Questions on HotSpot" New topic
Author

Questions on HotSpot

Asuthosh Borikar
Ranch Hand

Joined: Sep 29, 2000
Posts: 75
Hi,
I have a couple of questions about hotspot.
1) I am forced to use JDK1.2.2. I understand that hotspot is the default VM for JDK1.3, but how can I get hotspot for the java version I am using(if one is available at all).
2) I understand the -server and the -client options for java, but what does the option -hotspot itself mean? And if it invokes the HotSpot JVM, will it be running in Server mode or Client mode?
I am using JDK1.2.2 on Solaris. Any help will be appreciated. Thanks.
Thomas Smets
Ranch Hand

Joined: Dec 11, 2001
Posts: 111
Partial answer :-)
2) I understand the -server and the -client options for java, but what does the option -hotspot itself mean? And if it invokes the HotSpot JVM, will it be running in Server mode or Client mode?
I am using JDK1.2.2 on Solaris. Any help will be appreciated.

As far as I remember : Server = HotSpot


Thomas Smets
Just another developper
Ethan Henry
Greenhorn

Joined: May 31, 2002
Posts: 5
Originally posted by Thomas SMETS:
Partial answer :-)

As far as I remember : Server = HotSpot

Unfortunately, no.
In JDK 1.2, you had your choice between the Classic VM and HotSpot Client.
HotSpot == Client
In JDK 1.3 and 1.4 -client and -hotspot do the same thing, per the help that comes up when you run java.exe without any arguments...

D:\temp>java -hotspot
Usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
 
jQuery in Action, 2nd edition
 
subject: Questions on HotSpot