< prev index next >

src/hotspot/share/gc/z/zRelocate.cpp

Print this page

        

@@ -71,11 +71,11 @@
   ZRelocateRootsIteratorClosure _cl;
 
 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
     // export weak roots to rehash the JVMTI tag map
     _roots.oops_do(&_cl);
< prev index next >