As I remember there is a magic command line option in Java that turn on writing of operations that are currently executed to console. The output was looked like byte code.
-verbose
does not match as it prints only class loading, while this option outputs information like memory allocation, setting local variables etc. It was very detailed, like 10 lines for "Hello world".
I did not find it neither here http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp nor here http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/java.html Also I have found some flags here, but most of them work only in openjdk or in the develop mode. Maybe there is a way I can start java.exe on Windows in this develop mode? Or maybe there is another set of flags that this lists miss?