diff -r f0ff230e2546 -r 0eae3ed86296 src/hotspot/share/gc/z/zHeap.cpp --- a/src/hotspot/share/gc/z/zHeap.cpp Fri Jun 15 13:31:36 2018 +0200 +++ b/src/hotspot/share/gc/z/zHeap.cpp Fri Jun 15 13:31:43 2018 +0200 @@ -504,7 +504,6 @@ } void ZHeap::object_iterate(ObjectClosure* cl) { - // Should only be called in a safepoint after mark end. assert(SafepointSynchronize::is_at_safepoint(), "Should be at safepoint"); ZHeapIterator iter;