--- a/src/hotspot/share/gc/z/zHeap.cpp Thu Mar 28 19:43:59 2019 +0100
+++ b/src/hotspot/share/gc/z/zHeap.cpp Thu Mar 28 19:43:59 2019 +0100
@@ -540,16 +540,19 @@
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);