help on starting point of hotspot jvm

ddmetro puzzlesdj at
Wed Sep 22 17:02:28 PDT 2010

Hi All,

1. I am trying to figure out the starting point (file whose main() method is
invoked), when the following command is issued:
>java Testfile
I tried adding printfs to
however after executing the following command, the printfs didn't appear 
>make hotspot

Question: am i trying with the incorrect starting point?

2. When i add printfs to the hotspot files, and execute
>make hotspot
the printfs don't appear. The build happens successfully and the
at '/openjdk/build/linux-i586/j2re-image/lib/i386/server' is updated.

Question: kindly inform if i am missing out on anything here.

3. I am looking at instruction scheduling phase and came across compile.cpp
and output.cpp classes at 'openjdk/hotspot/src/share/vm/opto/' location. 

Question: i am unable to figure out which class calls the 'Compile()' method
of Compile class. kindly point out - what am i missing in here.

4. I am trying to relate thread scheduling and instruction scheduling (a
thread calling DoScheduling() method per input file method)
I tried looking into jvm_linux.cpp, os_linux.cpp and osThread_linux.hpp at
'/openjdk/hotspot/src/os/linux/vm/' location.
However, couldnt relate these files with a call to DoScheduling() method.

Question: Kindly help me relate thread scheduling and instruction

Thanking You for your patience,

View this message in context:
Sent from the OpenJDK Hotspot Compiler Development List mailing list archive at

More information about the hotspot-compiler-dev mailing list