You are running Mac OS X. Does Apple support the Server Hotspot version? Maybe it falls back to client by default.
Ronald.
On Fri Nov 12 22:08:42 CET 2004 Mufaddal Khumri <[EMAIL PROTECTED]> wrote:
Hi,
I have: JAVA_OPTS="-server -Djava.awt.headless=true -Xms1g -Xmx1g -Dfile.encoding=ISO-8859-1" in catalina.sh
I just tried: logger.info("java.vm.name: " + System.getProperty("java.vm.name")); and i get: INFO - java.vm.name: Java HotSpot(TM) Client VM
Why is the -server option not taking effect?
Does java.vm.name display the mode the JVM is executing in or its name of the JVM installed on my machine? (because if its just the name of the JVM installed on my machine the -server option must be taking effect)
Thanks.
On Nov 12, 2004, at 1:53 PM, Shapira, Yoav wrote:
>
>Hi,
>Cool, good tip.
>
>Yoav Shapira http://www.yoavshapira.com
>
>
>>-----Original Message-----
>>From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
>>Sent: Friday, November 12, 2004 3:14 PM
>>To: Tomcat Users List
>>Subject: RE: Tomcat and -server option
>>
>>>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>>>Subject: RE: Tomcat and -server option
>>>
>>>>Is there a way to make sure that my JVM is taking
>>>>the -server flag into consideration?
>>>
>>>I'm not aware of a programmatic way to verify this.
>>
>>The Java property java.vm.name (use System.getProperty("java.vm.name")
>to
>>retrieve it) contains either "Java HotSpot(TM) Server VM" or "Java
>>HotSpot(TM) Client VM" when using Sun JVMs. Other vendors will, of
>course,
>>set this property differently.
>>
>>- Chuck
>>
>>
>>THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
>PROPRIETARY
>>MATERIAL and is thus for use only by the intended recipient. If you
>>received this in error, please contact the sender and delete the >>e-mail
>and
>>its attachments from all computers.
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary and/or privileged. This e-mail is intended only for the >individual(s) to whom it is addressed, and may not be saved, copied, >printed, disclosed or used by anyone else. If you are not the(an) >intended recipient, please immediately delete this e-mail from your >computer system and notify the sender. Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
Mufaddal Khumri
Software Developer
Waves In Motion
Phone: 602 956 7080 x 26
Email: [EMAIL PROTECTED]
