help on starting point of hotspot jvm

ddmetro puzzlesdj at gmail.com
Sun Oct 10 20:27:33 PDT 2010


Thanks Christian.

1. I added printf statements in the beginning of the main() function of
java.c files in the following locations:
/openjdk/hotspot/src/os/linux/launcher/java.c
/openjdk/jdk/src/share/bin/java.c
/openjdk-ecj/hotspot/src/os/linux/launcher/java.c
/openjdk-ecj/jdk/src/share/bin/java.c

I then ran >make hotspot
>source env.sh
>./gamma
I expect the printfs to be seen, however they don't appear.

Question 1: Do i have to enable verbose output with gamma? Kindly direct me
as to what am i missing out in here.

Question 2: I am basically trying to figure out which file gets called
first, when ./gamma is executed. I think it is 
/openjdk/hotspot/src/os/linux/launcher/java.c
However, I am not able to get the changes (printf statments) reflected after
build, when ./gamma is executed.
Kindly point out if i am correct on the starting point of ./gamma.

Thanking You,
Dhiraj Padnani.
-- 
View this message in context: http://old.nabble.com/help-on-starting-point-of-hotspot-jvm-tp29785128p29930900.html
Sent from the OpenJDK Hotspot Compiler Development List mailing list archive at Nabble.com.



More information about the hotspot-compiler-dev mailing list