Mercurial > hg > truffle
diff src/share/vm/code/nmethod.hpp @ 1155:4e6abf09f540
6912062: disassembler plugin needs to produce symbolic information in product mode
Summary: More informative disassembly in product mode. Also, a more consistent CompileCommand syntax.
Reviewed-by: never
author | jrose |
---|---|
date | Fri, 08 Jan 2010 13:47:01 -0800 |
parents | b1f619d38249 |
children | ba263cfb7611 |
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.hpp Fri Jan 08 09:42:31 2010 -0800 +++ b/src/share/vm/code/nmethod.hpp Fri Jan 08 13:47:01 2010 -0800 @@ -576,6 +576,13 @@ void log_new_nmethod() const; void log_state_change() const; + // Prints block-level comments, including nmethod specific block labels: + virtual void print_block_comment(outputStream* stream, address block_begin) { + print_nmethod_labels(stream, block_begin); + CodeBlob::print_block_comment(stream, block_begin); + } + void print_nmethod_labels(outputStream* stream, address block_begin); + // Prints a comment for one native instruction (reloc info, pc desc) void print_code_comment_on(outputStream* st, int column, address begin, address end); static void print_statistics() PRODUCT_RETURN;