src/hotspot/share/gc/z/zHeapIterator.cpp
changeset 54331 f0fec71d2fff
parent 54095 8b4a1177202d
child 55311 d60b24a09900
child 58678 9cf78a70fa4f
--- a/src/hotspot/share/gc/z/zHeapIterator.cpp	Thu Mar 28 19:43:59 2019 +0100
+++ b/src/hotspot/share/gc/z/zHeapIterator.cpp	Thu Mar 28 19:43:59 2019 +0100
@@ -28,6 +28,7 @@
 #include "gc/z/zHeapIterator.hpp"
 #include "gc/z/zOop.inline.hpp"
 #include "gc/z/zRootsIterator.hpp"
+#include "gc/z/zStat.hpp"
 #include "memory/iterator.inline.hpp"
 #include "utilities/bitMap.inline.hpp"
 #include "utilities/stack.inline.hpp"
@@ -170,6 +171,7 @@
   // If we didn't do this the application would have expected to see
   // ObjectFree events for phantom reachable objects in the tag map.
 
+  ZStatTimerDisable disable;
   ZHeapIteratorRootOopClosure root_cl(this);
 
   // Push strong roots onto stack