< prev index next >

src/hotspot/share/oops/method.hpp

Print this page
rev 54697 : imported patch 8221734-v2-merge
rev 54698 : imported patch 8221734-v2

@@ -466,11 +466,12 @@
 
   static void unlink_code(Method *method, CompiledMethod *compare);
   static void unlink_code(Method *method);
 
 private:
-  void locked_unlink_code();
+  // Either called with CompiledMethod_lock held or from constructor.
+  void clear_code();
 
 public:
   static void set_code(const methodHandle& mh, CompiledMethod* code);
   void set_adapter_entry(AdapterHandlerEntry* adapter) {
     constMethod()->set_adapter_entry(adapter);
< prev index next >