hotspot build instructions
feng.xian at gmail.com
Fri Feb 1 12:14:21 PST 2008
The following link gives an overview of internal details of hotspot. It is
very useful for you to read the source code of hotspot. But it only gives
explaination of several important functions.
On 2/1/08, Prasad Kulkarni <prasad1310 at hotmail.com> wrote:
> I was able to download all the sources. I was also able to build hotspot
> using the JDK7 binaries (for now). I had earlier tried to manually use "hg
> clone" on all sub-directories, but I had obviously made some mistake there.
> Thanks! Your blog is very helpful and instructive! I may use it again to
> setup Netbeans.
> Do you know of any other resource that gives the internal details of
> hotspot (like what function is the entry point for the JIT, interpreter,
> function flow, something like that...).
> thank you,
> > Date: Fri, 1 Feb 2008 15:56:33 +0100
> > From: volker.simonis at gmail.com
> > To: prasad1310 at hotmail.com
> > Subject: Re: hotspot build instructions
> > CC: hotspot-dev at openjdk.java.net
> > You can clone the sources without the forest extension, you just have
> > to clone the different trees "manually" (e.g "hg clone
> > http://hg.openjdk.java.net/jdk7/jdk7/hotspot" for the hotspot, "hg
> > clone http://hg.openjdk.java.net/jdk7/jdk7/jdk" for the jdk tree and
> > so on for corba, langtools, jaxp and jaxws).
> > If you only want to hack the VM, you can either build the entire
> > OpenJDK once or download a JDK7 binary from
> > http://download.java.net/jdk7/binaries/ and. Than you can build and
> > run the OpenJDK HotSpot as described in:
> > and
> > On 2/1/08, Prasad Kulkarni wrote:
> >> Thanks everyone for your help.
> >> My research only involves making changes to the hotspot JVM. I do not
> want to build the class libraries and anything else that I don't have to.
> Earlier this week, I downloaded just the hotspot compiler from one of Sun's
> site (not the OpenJDK) and built it on fedora/gcc 4.1.2 after making some
> changes to the source files, mainly due to gcc incompatibilities, I believe.
> I also downloaded the latest java SDK hoping that just by replacing the
> libjvm.so file all would work.
> >> Since that did not work, I started looking at the OpenJDK project. One
> question I have is, exactly how much of the entire JDK does one have to
> build to start customizing hotspot? The hotspot FAQ page provides
> instructions to get the source for the hotspot VM. Those links did not work
> for me, in particular the one for the source bundle,
> >> So, I have been attempting to download the OpenJDK using Volker's
> instructions on his weblog. Currently, I don't have all the files as yet,
> mercurial only downloads 26 files without hgforest. So, I will try to solve
> those issues today. Please let me know if any one has any suggestions.
> >> thanks,
> >> Prasad
> >> ----------------------------------------
> >>> Date: Thu, 31 Jan 2008 22:23:34 -0800
> >>> From: Peter.Kessler at Sun.COM
> >>> Subject: Re: hotspot build instructions
> >>> To: prasad1310 at hotmail.com
> >>> CC: hotspot-dev at openjdk.java.net
> >>> I wrote osse-build-linux-i586 back when all we had out in the
> >>> open was the HotSpot source code. It's been superseded by all
> >>> the good work people have done making it easy (possible) to
> >>> build HotSpot as part of building the whole OpenJDK.
> >>> Do you want to build just HotSpot (the JVM, no class libraries)
> >>> or do you want to build the whole JDK? If so, you might want
> >>> to post questions on build-dev at openjdk.java.net.
> >>> I'll take a note to clean up old
> >>> web pages, but it won't make it to the top of my stack soon.
> >>> ... peter
> >>> Prasad Kulkarni wrote:
> >>>> Hi,
> >>>> I am attempting to install hotspot, and use it for some of our
> >>>> Although I have downloaded all the source files, the link to the
> >>>> for building Hotspot VM" does not seem to work for me. I am trying to
> open the
> >>>> link from the FAQ page at:
> >>>> http://openjdk.java.net/groups/hotspot/faq.html
> >>>> The link for instructions for linux points to:
> >>>> http://openjdk.java.net/groups/hotspot/osse-build-linux-i586
> >>>> I will greatly appreciate if it could be possible to fix the link, or
> for some
> >>>> one to send me their copy of the build instructions.
> >>>> thank you,
> >>>> Prasad
> >> _________________________________________________________________
> >> Need to know the score, the latest news, or you need your
> Hotmail(R)-get your "fix".
> >> http://www.msnmobilefix.com/Default.aspx
> Climb to the top of the charts! Play the word scramble challenge with star
Addr: 1025N, 23rd str, APT 33,
Lincoln, NE, 68503
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-dev