« December 2009
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today
XML

Blog::Navigation

GetJava Download Button
Get the Source
Personal Blog

Blog::Referers

Today's Page Hits: 29

Powered by Roller Weblogger.
« So you want to read... | Main | My son's Windows... »
20061026 Thursday October 26, 2006

HotSpot source: Where to begin?

Hope you had read my previous post on the prerequisites for reading HotSpot sources. Please note that I am not an expert in HotSpot. I'll post "random tips" which may be useful to you :-)

You may want to read Mikhail Dmitriev's thesis - Chapter 7, Section 7.1. In particular, section 7.1.2.5 titled "Internal Data Structures". This section is a very nice (dated, but still useful) description of HotSpot data structures. Of course, you can read the entire thesis if you are interested in the topic of the thesis - it is an interesting thesis to read!. While reading those sections, you may want to look at the header [.hpp] files under $JDK/hotspot/src/share/vm/oops/ directory.

Most files in this directory have the word "oop" in the name. The "oop" here stands for "ordinary object pointer". What is "ordinary"? May be, this explains!



( Oct 26 2006, 06:33:16 PM IST ) Permalink Comments [3] del.icio.us | furl | simpy | slashdot | technorati | digg

Comments:

> The "oop" here stands for "ordinary object pointer"
Oh! I thought it was for "oops! I just inadvertedly broke the VM with my fix here..."
-- daniel

Posted by daniel on October 26, 2006 at 08:53 PM IST #

Though this is an perfect example for self-adulation: Readers interested in the structure of the client compiler (the just-in-time compiler used for the -client configuration of the HotSpot VM) might want to look at the research performed at the Institute for System Software at the Johannes Kepler University Linz. The chapters 3.2 and 4 of my Master's Thesis (online at http://ssw.jku.at/Research/Papers/Wimmer04Master/) covers the compiler architecture and the intermediate representation. This is the description of a resaeach project that will be included in the JDK 6. The relevant source files are in the directory $JDK/hotspot/src/share/vm/c1/

Posted by Christian Wimmer on October 27, 2006 at 12:56 PM IST #

Hi Christian Wimmer: That is very useful. Thank you for posting that in the comment!

Hi Daniel: Oops! That is not the meaning here ;-)

Posted by A. Sundararajan on October 27, 2006 at 01:09 PM IST #

Post a Comment:

Comments are closed for this entry.
Copyright (C) 2005, A. Sundararajan's Weblog