wood burning stoves 2.0*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Questions on HotSpot
 
Similar Threads
Resolving most specific method
Cannot able to start the Admin Web console of Glassfish v3.1
Problem of running java application
Error with marketplace connectivity in Eclipse Helios
client & sever direcory under jre