--- old/src/hotspot/share/gc/z/zRelocate.cpp 2019-11-22 15:12:10.156562752 +0100 +++ new/src/hotspot/share/gc/z/zRelocate.cpp 2019-11-22 15:12:09.643545919 +0100 @@ -73,7 +73,7 @@ public: ZRelocateRootsTask() : ZTask("ZRelocateRootsTask"), - _roots(true /* visit_jvmti_weak_export */) {} + _roots(true /* visit_jvmti_weak_export */, true /* disarm_nmethods */) {} virtual void work() { // During relocation we need to visit the JVMTI