some puzzles about Openjdk
Liu lianshun
lsliu0507 at gmail.com
Tue Apr 7 22:36:51 PDT 2009
Hi,
I've some puzzles from my recent learning about OpenJDK7.0.
Firstly, I want to know that whether I can change the java programes' behavior via changing some source files in OpenJDK, for examples, execute the following codes will print "100".
int i=100;
System.out.println(i);
My question is that how to print "200", without changing the source codes. Is it possible?
Secondly, the number of files in the OpenJDK project is very large, I want to know how these files are structured. Besides, how can I debug the project? For examples, When I run HelloWorld, I use the command "java HelloWorld", I want to know how the hotspot interpret this command, I think the best way is reading the source codes, but I don't know where to start.
Best regards,
Lianshun Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20090408/db182002/attachment.html
More information about the hotspot-runtime-dev
mailing list