diff src/share/vm/memory/space.cpp @ 517:e9be0e04635a

6689653: JMapPerm fails with UseConcMarkSweepIncGC and compressed oops off Summary: Added safe_object_iterate() for use by JMapPerm. Reviewed-by: tonyp
author jmasa
date Tue, 06 Jan 2009 07:05:05 -0800
parents 7d7a7c599c17
children 0af8b0718fc9
line wrap: on
line diff
--- a/src/share/vm/memory/space.cpp	Sat Dec 20 00:45:18 2008 -0800
+++ b/src/share/vm/memory/space.cpp	Tue Jan 06 07:05:05 2009 -0800
@@ -705,6 +705,12 @@
   object_iterate_from(bm, blk);
 }
 
+// For a continguous space object_iterate() and safe_object_iterate()
+// are the same.
+void ContiguousSpace::safe_object_iterate(ObjectClosure* blk) {
+  object_iterate(blk);
+}
+
 void ContiguousSpace::object_iterate_from(WaterMark mark, ObjectClosure* blk) {
   assert(mark.space() == this, "Mark does not match space");
   HeapWord* p = mark.point();