1.1 --- a/src/share/vm/services/heapDumper.cpp Sat Dec 20 00:45:18 2008 -0800 1.2 +++ b/src/share/vm/services/heapDumper.cpp Tue Jan 06 07:05:05 2009 -0800 1.3 @@ -1700,7 +1700,7 @@ 1.4 // The HPROF_GC_CLASS_DUMP and HPROF_GC_INSTANCE_DUMP are the vast bulk 1.5 // of the heap dump. 1.6 HeapObjectDumper obj_dumper(this, writer()); 1.7 - Universe::heap()->object_iterate(&obj_dumper); 1.8 + Universe::heap()->safe_object_iterate(&obj_dumper); 1.9 1.10 // HPROF_GC_ROOT_THREAD_OBJ + frames + jni locals 1.11 do_threads();