Where in OpenJDK repository can I find Hotspot VM source codes?

Krystal Mok rednaxelafx at gmail.com
Thu Jul 27 18:44:13 UTC 2017

Hi Yijie,

I don't think there is one that exactly matches what you want.

I wrote a doc [1] long ago about the correspondence of Sun/Oracle JDK 6
versus OpenJDK 6 in terms of the JVM used. Unfortunately, because of the
history behind OpenJDK 6 (it's a backport of OpenJDK 7 to be a JDK6
release, rather than the open sourced version of Sun/Oracle JDK 6), there
was no exact correspondence to begin with.

Back then, the HotSpot Expression release model was still in place, so the
Oracle JDK 6 and the then still-in-development JDK 7 would mostly share the
same JVM, that's how the OpenJDK 6 HotSpot VM still very closely match the
Oracle JDK 6 version -- less some proprietary features like
UseCompressedStrings, and a bit of delay in releasing the new tiered
compilation features, etc.

After Oracle JDK6u32 or something, I don't think the OpenJDK 6 HotSpot VM
reflected changes to the Oracle JDK 6 any more, as JDK6 was going towards
EOL'd and less changes from Oracle JDK 6 were sync'd to OpenJDK 6.
Red Hat later took over the maintenance of the OpenJDK 6 release, and it
further diverged from the Oracle internal one.

What's in Oracle JDK6u45 specifically that you wanted to check the sources
for, though?

- Kris

[1]: https://gist.github.com/rednaxelafx/925323

On Wed, Jul 5, 2017 at 2:18 AM, zengyijie <hzzengyijie at corp.netease.com>

> Hi, we are running an outdated Oracle Java JDK6 with Hotspot VM, I have
> spent quite a while browsing openjdk repository,
> but I can’t find the source codes for the specific Hotspot VM version. The
> repository tip of http://hg.openjdk.java.net/jdk6/jdk6/hotspot/ <
> http://hg.openjdk.java.net/jdk6/jdk6/hotspot/> is only jdk6-b43, there’s
> no 1.6.0_45.
> Could someone help tell where to find it?
> The Oracle JDK version is as follows:
> java version "1.6.0_45"
> Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

More information about the hotspot-dev mailing list