diff -r 64c84d620e5c -r 59a0620561fa hotspot/src/share/vm/memory/universe.hpp --- a/hotspot/src/share/vm/memory/universe.hpp Wed May 08 21:06:46 2013 -0400 +++ b/hotspot/src/share/vm/memory/universe.hpp Fri May 10 08:27:30 2013 -0700 @@ -90,8 +90,8 @@ ActiveMethodOopsCache() { _prev_methods = NULL; } ~ActiveMethodOopsCache(); - void add_previous_version(Method* const method); - bool is_same_method(Method* const method) const; + void add_previous_version(Method* method); + bool is_same_method(const Method* method) const; };