--- a/hotspot/src/share/vm/code/nmethod.hpp Thu Sep 20 16:49:17 2012 +0200
+++ b/hotspot/src/share/vm/code/nmethod.hpp Mon Sep 24 10:30:14 2012 -0700
@@ -653,11 +653,11 @@
void log_state_change() const;
// Prints block-level comments, including nmethod specific block labels:
- virtual void print_block_comment(outputStream* stream, address block_begin) {
+ virtual void print_block_comment(outputStream* stream, address block_begin) const {
print_nmethod_labels(stream, block_begin);
CodeBlob::print_block_comment(stream, block_begin);
}
- void print_nmethod_labels(outputStream* stream, address block_begin);
+ void print_nmethod_labels(outputStream* stream, address block_begin) const;
// Prints a comment for one native instruction (reloc info, pc desc)
void print_code_comment_on(outputStream* st, int column, address begin, address end);