8205028: ZGC: Remove incorrect comment in ZHeap::object_iterate()
authorpliden
Fri, 15 Jun 2018 13:31:43 +0200
changeset 50584 0eae3ed86296
parent 50583 f0ff230e2546
child 50585 1bddf2ab9ae7
8205028: ZGC: Remove incorrect comment in ZHeap::object_iterate() Reviewed-by: stefank, eosterlund
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;