< prev index next >

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

Print this page

        

@@ -364,15 +364,10 @@
   ZResurrection::block();
 
   // Process weak roots
   _weak_roots_processor.process_weak_roots();
 
-  // Verification
-  if (VerifyBeforeGC || VerifyDuringGC || VerifyAfterGC) {
-    Universe::verify();
-  }
-
   return true;
 }
 
 void ZHeap::set_soft_reference_policy(bool clear) {
   _reference_processor.set_soft_reference_policy(clear);

@@ -568,11 +563,11 @@
       ZTask("ZVerifyRootsTask"),
       _strong_roots(),
       _weak_roots() {}
 
   virtual void work() {
-    ZVerifyRootOopClosure cl;
+    ZVerifyOopClosure cl;
     _strong_roots.oops_do(&cl);
     _weak_roots.oops_do(&cl);
   }
 };
 
< prev index next >