< prev index next >

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

Print this page

        

*** 538,557 **** --- 538,560 ---- st->cr(); } class ZVerifyRootsTask : public ZTask { private: + ZStatTimerDisable _disable; ZRootsIterator _strong_roots; ZWeakRootsIterator _weak_roots; public: ZVerifyRootsTask() : ZTask("ZVerifyRootsTask"), + _disable(), _strong_roots(), _weak_roots() {} virtual void work() { + ZStatTimerDisable disable; ZVerifyOopClosure cl; _strong_roots.oops_do(&cl); _weak_roots.oops_do(&cl); } };
< prev index next >