--- old/src/hotspot/share/code/nmethod.hpp 2019-08-27 14:06:20.616167779 +0200 +++ new/src/hotspot/share/code/nmethod.hpp 2019-08-27 14:06:20.322157595 +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 @@ -390,7 +390,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.