--- a/hotspot/src/share/vm/memory/space.cpp Sat Dec 20 00:45:18 2008 -0800
+++ b/hotspot/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();