Running Java Hotspot server mode.

Zaphod B <[email protected]> Wed, 2 Feb 2005 03:03:47 -0800 (PST)
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
Hi there,
 
I am using J2SE 1.4.2. On the console, when I type java -version, I get:
 
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-141.3)
Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode)

 
Currently, when I launch my app, I see in the webobjects.log the following:
 
java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" -DWOLocalRootDirectory="" -DWOUserDirectory="/System/Library/W
ebObjects/JavaApplications/wotaskd.woa" ......etc, etc, etc
 
I read that the default version used is the client mode. That is, if I do not use the -server argument, the app is running in client mode.
 
My app is a server app and I think it should be running in server mode instead. So it is just to add -server in the Java Monitor additional argument?
 
Have anyone seen significant performance difference between these two modes?
 
Hope you could help. Thanks!
 
Z
 

		
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - Find what you need with new enhanced search. Learn more.