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



On Apr 24, 2004, at 11:37 AM, James Bucanek wrote:

John W. Whitworth wrote on Saturday, April 24, 2004:
You see the benefits of the server VM after seconds, not days, as
pointed out above The server VM does much more aggressive inlining and
this is what makes the difference. You can control the size of methods
that are inlined via a JVM option.

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.


The -server option on the Apple VM only changes some default options and uses the exact same client compiler. Therefore there are NO new optimizations made that the real server compiler would do... simply different thresholds for inline and such.

Basically -server on the mac is just a way to configure the client VM to be a little more 'server-like' in terms of memory management and when it chooses to inline code. There is still plenty of room for performance enhancements with regard to higher level optimization involving bounds check elimination and other 'tricks'.

Scott
_______________________________________________
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>)



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.