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