OSX 32/64 bits support for JDK7 patch for review

David Holmes david.holmes at oracle.com
Wed Apr 25 16:16:44 PDT 2012


On 26/04/2012 8:54 AM, Charles Oliver Nutter wrote:
> On Wed, Apr 25, 2012 at 10:51 PM, David Holmes<david.holmes at oracle.com>  wrote:
>> -d32 should not affect selection of client vs server - assuming they both
>> exist. The default is determined by the contents of the jvm.cfg file.
>
> Here's jvm.cfg from Apple JDK 1.6.0_31. I presume this means it will
> try to do -client, but failing that fall back on -server (as in 64-bit
> mode):

I don't think there is any fallback in the launcher, if the default 
doesn't exist then it will fail.

Note Henri's patch places server first, so it will default to server 
over client (the opposite of Apple JDK). And no ergonomics is involved.

David
------

> #
> # @(#)jvm.cfg	1.6 01/12/03
> #
> # Copyright 2002 Sun Microsystems, Inc. All rights reserved.
> # SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
> #
> #
> #
> #
> # List of JVMs that can be used as an option to java, javac, etc.
> # Order is important -- first in this list is the default JVM.
> # NOTE that this both this file and its format are UNSUPPORTED and
> # WILL GO AWAY in a future release.
> #
> # You may also select a JVM in an arbitrary location with the
> # "-XXaltjvm=<jvm_dir>" option, but that too is unsupported
> # and may not be available in a future release.
> #
> -client KNOWN
> -jvm ALIASED_TO -client
> -hotspot ALIASED_TO -client
> -server KNOWN
> -classic WARN
>
> - Charlie



More information about the jdk7u-dev mailing list