changeset 55311 | d60b24a09900 |
parent 55307 | ed12027517c0 |
child 55603 | 3868dde58ebb |
--- a/src/hotspot/share/gc/z/zHeap.cpp Mon Jun 10 12:52:56 2019 +0200 +++ b/src/hotspot/share/gc/z/zHeap.cpp Mon Jun 10 12:52:57 2019 +0200 @@ -471,8 +471,8 @@ void ZHeap::object_iterate(ObjectClosure* cl, bool visit_referents) { assert(SafepointSynchronize::is_at_safepoint(), "Should be at safepoint"); - ZHeapIterator iter(visit_referents); - iter.objects_do(cl); + ZHeapIterator iter; + iter.objects_do(cl, visit_referents); } void ZHeap::serviceability_initialize() {