--- a/src/hotspot/share/code/nmethod.cpp Wed Jul 31 06:37:13 2019 -0400
+++ b/src/hotspot/share/code/nmethod.cpp Wed Jul 31 06:54:50 2019 -0400
@@ -1313,7 +1313,7 @@
nmethodLocker nml(this);
methodHandle the_method(method());
// This can be called while the system is already at a safepoint which is ok
- NoSafepointVerifier nsv(true, !SafepointSynchronize::is_at_safepoint());
+ NoSafepointVerifier nsv;
// during patching, depending on the nmethod state we must notify the GC that
// code has been unloaded, unregistering it. We cannot do this right while