< prev index next >

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

Concurrent class unloading

*** 182,192 **** return _visit_referents; } void ZHeapIterator::objects_do(ObjectClosure* cl) { ZHeapIteratorRootOopClosure root_cl(this, cl); ! ZRootsIterator roots; // 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 // objects, even those that might now have become unreachable. // If we didn't do this the user would have expected to see --- 182,192 ---- return _visit_referents; } void ZHeapIterator::objects_do(ObjectClosure* cl) { ZHeapIteratorRootOopClosure root_cl(this, cl); ! 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 // objects, even those that might now have become unreachable. // If we didn't do this the user would have expected to see
< prev index next >