changeset 51218:0eae3ed86296

8205028: ZGC: Remove incorrect comment in ZHeap::object_iterate() Reviewed-by: stefank, eosterlund
author pliden
date Fri, 15 Jun 2018 13:31:43 +0200
parents f0ff230e2546
children 1bddf2ab9ae7
files src/hotspot/share/gc/z/zHeap.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;