--- old/src/hotspot/share/gc/z/zHeap.cpp 2018-10-31 15:02:21.074698249 +0100 +++ new/src/hotspot/share/gc/z/zHeap.cpp 2018-10-31 15:02:20.648679751 +0100 @@ -366,11 +366,6 @@ // Process weak roots _weak_roots_processor.process_weak_roots(); - // Verification - if (VerifyBeforeGC || VerifyDuringGC || VerifyAfterGC) { - Universe::verify(); - } - return true; } @@ -570,7 +565,7 @@ _weak_roots() {} virtual void work() { - ZVerifyRootOopClosure cl; + ZVerifyOopClosure cl; _strong_roots.oops_do(&cl); _weak_roots.oops_do(&cl); }