OSX 32/64 bits support for JDK7 patch for review

Henri Gomez henri.gomez at gmail.com
Wed Apr 25 23:50:33 PDT 2012


OpenJDK7 from jdk7u/jdk7u branch packages are available in Universal mode :

JDK :

* http://openjdk-osx-build.googlecode.com/files/OpenJDK-OSX-1.7-universal-u-jdk-jdk7u6-b07-20120425.dmg

JRE :

* http://openjdk-osx-build.googlecode.com/files/OpenJDK-OSX-1.7-universal-u-jre-jdk7u6-b07-20120425.dmg


openjdk version "1.7.0-jdk7u6-b07"
OpenJDK Runtime Environment (build 1.7.0-jdk7u6-b07-20120425)
OpenJDK 64-Bit Server VM (build 23.0-b21, mixed mode)


2012/4/26 David Holmes <david.holmes at oracle.com>:
> 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