1.1 --- a/src/share/vm/code/codeBlob.hpp Thu Sep 20 16:49:17 2012 +0200 1.2 +++ b/src/share/vm/code/codeBlob.hpp Mon Sep 24 10:30:14 2012 -0700 1.3 @@ -184,7 +184,7 @@ 1.4 static void trace_new_stub(CodeBlob* blob, const char* name1, const char* name2 = ""); 1.5 1.6 // Print the comment associated with offset on stream, if there is one 1.7 - virtual void print_block_comment(outputStream* stream, address block_begin) { 1.8 + virtual void print_block_comment(outputStream* stream, address block_begin) const { 1.9 intptr_t offset = (intptr_t)(block_begin - code_begin()); 1.10 _comments.print_block_comment(stream, offset); 1.11 }