diff --git a/src/hotspot/share/gc/z/zHeapIterator.cpp b/src/hotspot/share/gc/z/zHeapIterator.cpp index 241f5f8..00f2afd 100644 --- a/src/hotspot/share/gc/z/zHeapIterator.cpp +++ b/src/hotspot/share/gc/z/zHeapIterator.cpp @@ -184,7 +184,7 @@ bool ZHeapIterator::visit_referents() const { void ZHeapIterator::objects_do(ObjectClosure* cl) { ZHeapIteratorRootOopClosure root_cl(this, cl); - ZRootsIterator roots; + ZRootsIterator roots(false); // Follow roots. Note that we also visit the JVMTI weak tag map // as if they were strong roots to make sure we visit all tagged