1.1 --- a/src/share/vm/code/nmethod.cpp Thu Sep 20 16:49:17 2012 +0200 1.2 +++ b/src/share/vm/code/nmethod.cpp Mon Sep 24 10:30:14 2012 -0700 1.3 @@ -2672,7 +2672,7 @@ 1.4 return NULL; 1.5 } 1.6 1.7 -void nmethod::print_nmethod_labels(outputStream* stream, address block_begin) { 1.8 +void nmethod::print_nmethod_labels(outputStream* stream, address block_begin) const { 1.9 if (block_begin == entry_point()) stream->print_cr("[Entry Point]"); 1.10 if (block_begin == verified_entry_point()) stream->print_cr("[Verified Entry Point]"); 1.11 if (block_begin == exception_begin()) stream->print_cr("[Exception Handler]");