• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java execution details in System.out

 
Vitaliy Bob
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 http://www.md.pp.ru/~eu/jdk6options.html, 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?
 
Rob Spoor
Sheriff
Posts: 20822
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean javap, not java.
 
Vitaliy Bob
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Prime wrote:You mean javap, not java.

javap is a static disassembler, while i need runtime information
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!