1.1 --- a/src/share/vm/oops/instanceKlass.cpp Wed May 08 21:06:46 2013 -0400 1.2 +++ b/src/share/vm/oops/instanceKlass.cpp Fri May 10 08:27:30 2013 -0700 1.3 @@ -2724,7 +2724,7 @@ 1.4 OsrList_lock->unlock(); 1.5 } 1.6 1.7 -nmethod* InstanceKlass::lookup_osr_nmethod(Method* const m, int bci, int comp_level, bool match_level) const { 1.8 +nmethod* InstanceKlass::lookup_osr_nmethod(const Method* m, int bci, int comp_level, bool match_level) const { 1.9 // This is a short non-blocking critical region, so the no safepoint check is ok. 1.10 OsrList_lock->lock_without_safepoint_check(); 1.11 nmethod* osr = osr_nmethods_head();