comparison 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
comparison
equal deleted inserted replaced
500:ca7d48236048 517:e9be0e04635a
1698 // generated a segmented heap dump this allows us to check if the current 1698 // generated a segmented heap dump this allows us to check if the current
1699 // segment exceeds a threshold and if so, then a new segment is started. 1699 // segment exceeds a threshold and if so, then a new segment is started.
1700 // The HPROF_GC_CLASS_DUMP and HPROF_GC_INSTANCE_DUMP are the vast bulk 1700 // The HPROF_GC_CLASS_DUMP and HPROF_GC_INSTANCE_DUMP are the vast bulk
1701 // of the heap dump. 1701 // of the heap dump.
1702 HeapObjectDumper obj_dumper(this, writer()); 1702 HeapObjectDumper obj_dumper(this, writer());
1703 Universe::heap()->object_iterate(&obj_dumper); 1703 Universe::heap()->safe_object_iterate(&obj_dumper);
1704 1704
1705 // HPROF_GC_ROOT_THREAD_OBJ + frames + jni locals 1705 // HPROF_GC_ROOT_THREAD_OBJ + frames + jni locals
1706 do_threads(); 1706 do_threads();
1707 check_segment_length(); 1707 check_segment_length();
1708 1708