src/hotspot/share/code/nmethod.hpp
changeset 55005 9b70ebd131b4
parent 54960 e46fe26d7f77
child 55293 d19dc5b10fbb
child 58678 9cf78a70fa4f
--- a/src/hotspot/share/code/nmethod.hpp	Thu May 23 09:46:49 2019 +0200
+++ b/src/hotspot/share/code/nmethod.hpp	Thu May 23 10:13:29 2019 +0200
@@ -119,7 +119,7 @@
   // used by jvmti to track if an unload event has been posted for this nmethod.
   bool _unload_reported;
 
-  // Protected by Patching_lock
+  // Protected by CompiledMethod_lock
   volatile signed char _state;               // {not_installed, in_use, not_entrant, zombie, unloaded}
 
 #ifdef ASSERT
@@ -387,7 +387,7 @@
 
   int   comp_level() const                        { return _comp_level; }
 
-  void unlink_from_method(bool acquire_lock);
+  void unlink_from_method();
 
   // Support for oops in scopes and relocs:
   // Note: index 0 is reserved for null.