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!

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 01: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 05:56 AM 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 06:09 AM IST #

Post a Comment:
Comments are closed for this entry.
About

sundararajan

Search

Archives
« April 2014
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
   
       
Today
Bookmarks
Links

No bookmarks in folder

Blogroll

No bookmarks in folder

News

No bookmarks in folder