< prev index next >

src/hotspot/share/oops/method.hpp

Print this page
rev 54838 : [mq]: 8221734-v2
rev 54839 : [mq]: 8221734-v3

@@ -462,12 +462,14 @@
   // nmethod/verified compiler entry
   address verified_code_entry();
   bool check_code() const;      // Not inline to avoid circular ref
   CompiledMethod* volatile code() const;
 
-  static void unlink_code(Method *method, CompiledMethod *compare);
-  static void unlink_code(Method *method);
+  // Locks CompiledMethod_lock if not held.
+  void unlink_code(CompiledMethod *compare);
+  // Locks CompiledMethod_lock if not held.
+  void unlink_code();
 
 private:
   // Either called with CompiledMethod_lock held or from constructor.
   void clear_code();
 
< prev index next >