diff -r c272092594bd -r 92ef81e2f571 src/share/vm/memory/universe.hpp --- a/src/share/vm/memory/universe.hpp Wed May 08 21:06:46 2013 -0400 +++ b/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; };