Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java VM specifics on MacOSX



This is consistent with what I've observed. Execute the following:

System.out.println(System.getProperties().getProperty("java.vm.name"));

On OS X, this prints "Java HotSpot(TM) Client VM" with or without the -server option.

--David

On Apr 24, 2004, at 11:00 AM, John W. Whitworth wrote:

Here's what the Apple Java 1.4 documentation says

-server
There is not a distinct server VM for Mac OS X. Although you may use
the -server flag when invoking java, it does not start up a different
VM, instead it starts the client VM that has been tuned for use in a
server environment. This tuning includes:
 Using a different class list for the shared archive generation that
does not include the GUI classes.
 Increasing the size of the Java heap.
 Increasing the size of the Eden generation.
 Turns on thread local Eden garbage collection.

This list lacks the major aggressive optimisations that are most
relevant to the server VM

John


On 24 Apr 2004, at 16:37, James Bucanek wrote:

Apple's JVM does take the '-server' option. When I last talked to an
Apple Java engineer (admittedly this was at the 2002 WWDC), they told
me that the -server switch does, indeed, turn on more aggressive
in-lining, garbage collection, and other personality changes.

What is lacking in Apple's -server implementation are some of the
crazier options offered by other server VMs, like turning off index
range checking or null reference checking.
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Java VM specifics on MacOSX (From: James Bucanek <email@hidden>)
 >Re: Java VM specifics on MacOSX (From: "John W. Whitworth" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.