diff src/share/vm/services/heapDumper.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 4d05b7cb7842
children 0fbdb4381b99 c6c601a0f2d6
line wrap: on
line diff
--- a/src/share/vm/services/heapDumper.cpp	Sat Dec 20 00:45:18 2008 -0800
+++ b/src/share/vm/services/heapDumper.cpp	Tue Jan 06 07:05:05 2009 -0800
@@ -1700,7 +1700,7 @@
   // The HPROF_GC_CLASS_DUMP and HPROF_GC_INSTANCE_DUMP are the vast bulk
   // of the heap dump.
   HeapObjectDumper obj_dumper(this, writer());
-  Universe::heap()->object_iterate(&obj_dumper);
+  Universe::heap()->safe_object_iterate(&obj_dumper);
 
   // HPROF_GC_ROOT_THREAD_OBJ + frames + jni locals
   do_threads();