Backporting an AsyncGetCallTrace patch to OpenJDK6
Martin Buchholz
martinrb at google.com
Thu Sep 11 16:44:07 PDT 2008
[+doko, who might be interested in this discussion on jdk6-dev at openjdk.java.net]
So...how come icedtea 6 (on Ubuntu Hardy) reports
a hotspot version number that is not an actual hotspot version number?
Should be "OpenJDK 64-Bit Server VM (build 10.0-b19, mixed mode)"
(martinrb at spraggett) ~ $ /usr/lib/jvm/java-6-openjdk/bin/java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (build 1.6.0_0-b11)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)
(martinrb at spraggett) ~ $ dpkg -S /usr/lib/jvm/java-6-openjdk/bin/java
openjdk-6-jre-headless: /usr/lib/jvm/java-6-openjdk/bin/java
(martinrb at spraggett) ~ $ aptitude show openjdk-6-jre-headless
Package: openjdk-6-jre-headless
Version: 6b11-2ubuntu2
Maintainer: Ubuntu MOTU Developers <ubuntu-motu at lists.ubuntu.com>
...
Martin
On Thu, Sep 11, 2008 at 15:10, Andrew John Hughes
<gnu_andrew at member.fsf.org> wrote:
> 2008/9/11 Andrew John Hughes <gnu_andrew at member.fsf.org>:
>> 2008/9/11 Daniel D. Daugherty <Daniel.Daugherty at sun.com>:
>>> Andrew John Hughes wrote:
>>>
>>> FWIW, I don't see any change to the HS_ version numbers in our
>>> patch to switch from OpenJDK6 b11's to OpenJDK7 b24's HotSpot.
>>> Given OpenJDK6 was derived from something like b20, I guess this is
>>> not that strange.
>>>
>>> JDK7-B24 has the following values:
>>>
>>> HS_MAJOR_VER=12
>>> HS_MINOR_VER=0
>>> HS_BUILD_NUMBER=01
>>>
>>> Joe stated earlier in this thread that OpenJDK6 is based on
>>> HSX-10 so its values should not be the same. For 1.6.0_07,
>>> I see:
>>>
>>> HS_MAJOR_VER=10
>>> HS_MINOR_VER=0
>>> HS_BUILD_NUMBER=23
>>>
>>> Dan
>>>
>>>
>>>
>>
>> Hmmm...
>> Then either Gary's HotSpot patch doesn't update that file or OpenJDK6
>> is not based on the same as this 1.6.0_07 thing you mention.
>> I'll try and have a closer look later.
>> --
>> Andrew :-)
>>
>> Support Free Java!
>> Contribute to GNU Classpath and the OpenJDK
>> http://www.gnu.org/software/classpath
>> http://openjdk.java.net
>>
>> PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
>> Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
>>
>
> IcedTea6 contains:
>
> HS_MAJOR_VER=10
> HS_MINOR_VER=0
> HS_BUILD_NUMBER=19
>
> IcedTea/b33 contains:
>
> HS_MAJOR_VER=14
> HS_MINOR_VER=0
> HS_BUILD_NUMBER=01
>
> icedtea-hotspot-6b11-7b24.patch only updates the src code and not
> make/hotspot_version
> so it's actually worryingly building a different version of HotSpot
> from the one it thinks it is.
> It will actually be 12-0-01 as you state, but will report 10-0-19.
>
> Overall, it would be better to always build against the most recent
> stable HotSpot tree if possible
> rather than the one provided by the build drop. Do we know what the
> most stable would be?
> --
> Andrew :-)
>
> Support Free Java!
> Contribute to GNU Classpath and the OpenJDK
> http://www.gnu.org/software/classpath
> http://openjdk.java.net
>
> PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
> Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
>
More information about the jdk6-dev
mailing list