comparison src/share/vm/memory/universe.hpp @ 10265:92ef81e2f571

8003557: NPG: Klass* const k should be const Klass* k. Summary: With NPG, const KlassOop klass which is in fact a definition converted to Klass* const, which is not the original intention. The right usage is converting them to const Klass*. Reviewed-by: coleenp, kvn Contributed-by: yumin.qi@oracle.com
author minqi
date Fri, 10 May 2013 08:27:30 -0700
parents b06ac540229e
children f2110083203d ce9ecec70f99
comparison
equal deleted inserted replaced
10262:c272092594bd 10265:92ef81e2f571
88 88
89 public: 89 public:
90 ActiveMethodOopsCache() { _prev_methods = NULL; } 90 ActiveMethodOopsCache() { _prev_methods = NULL; }
91 ~ActiveMethodOopsCache(); 91 ~ActiveMethodOopsCache();
92 92
93 void add_previous_version(Method* const method); 93 void add_previous_version(Method* method);
94 bool is_same_method(Method* const method) const; 94 bool is_same_method(const Method* method) const;
95 }; 95 };
96 96
97 97
98 // A helper class for caching a Method* when the user of the cache 98 // A helper class for caching a Method* when the user of the cache
99 // only cares about the latest version of the Method*. 99 // only cares about the latest version of the Method*.