< prev index next >

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

Print this page

        

*** 364,378 **** 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); --- 364,373 ----
*** 568,578 **** ZTask("ZVerifyRootsTask"), _strong_roots(), _weak_roots() {} virtual void work() { ! ZVerifyRootOopClosure cl; _strong_roots.oops_do(&cl); _weak_roots.oops_do(&cl); } }; --- 563,573 ---- ZTask("ZVerifyRootsTask"), _strong_roots(), _weak_roots() {} virtual void work() { ! ZVerifyOopClosure cl; _strong_roots.oops_do(&cl); _weak_roots.oops_do(&cl); } };
< prev index next >