--- a/hotspot/src/share/vm/oops/method.cpp Wed May 08 21:06:46 2013 -0400
+++ b/hotspot/src/share/vm/oops/method.cpp Fri May 10 08:27:30 2013 -0700
@@ -1581,7 +1581,7 @@
}
int Method::highest_comp_level() const {
- MethodData* mdo = method_data();
+ const MethodData* mdo = method_data();
if (mdo != NULL) {
return mdo->highest_comp_level();
} else {
@@ -1590,7 +1590,7 @@
}
int Method::highest_osr_comp_level() const {
- MethodData* mdo = method_data();
+ const MethodData* mdo = method_data();
if (mdo != NULL) {
return mdo->highest_osr_comp_level();
} else {