hotspot build instructions

Feng Xian 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.

http://openjdk.java.net/groups/hotspot/docs/RuntimeOverview.html#Command-Line%20Argument%20Processing|outline


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,
> Prasad
>
> ----------------------------------------
> > 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:
> >
> http://weblogs.java.net/blog/simonis/archive/2008/01/hotspot_develop.html#HotSpotBuild
> > and
> >
> http://weblogs.java.net/blog/simonis/archive/2008/01/hotspot_develop.html#HotSpotRun
> >
> > 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,
> >>
> https://openjdk.dev.java.net/servlets/ProjectDocumentList?folderID=6127&expandFolder=6127&folderID=0
> >>
> >> 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
> http://openjdk.java.net/groups/hotspot
> >>> 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
> research.
> >>>> Although I have downloaded all the source files, the link to the
> "instructions
> >>>> 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
> power.
> http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan




-- 
Addr: 1025N, 23rd str, APT 33,
         Lincoln, NE, 68503
Phone: (402)310-9826
WWW: cse.unl.edu/~fxian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20080201/2a01d7d9/attachment.html 


More information about the hotspot-dev mailing list