I got an interesting question, just out of my curiosity... reading a book about jRockit I saw examples how java program is transformed and how it looks (java code -> byte code -> HIR -> MIR -> etc), and all the time authors provided real code, or better to say how that code looks at different stages of transformation. I also saw the same examples in internet (like here: http://ssw.jku.at/Research/Papers/Wimmer04Master/Wimmer04Master.pdf - pages 36, 44, ...)
The question is what should I use (either external dumper or JVM parameters) to see the same for my custom code? I heard that it is possible, but I can't find it in the Internet. Again, I'm asking just to understand better what is done by JVM, how it works etc.
I've not tried it yet, but it looks like IBM's JDK has a parameter -Xjit for it (http://publib.boulder.ibm.com/infocenter/javasdk/tools/index.jsp?topic=%2Fcom.ibm.java.doc.igaa%2F_1vg000131402ee-11e49e6e566-7fd6_1004.html). Anything similar in HotSpot?