equal
deleted
inserted
replaced
1880 // to check if the current segment exceeds a threshold. If so, a new |
1880 // to check if the current segment exceeds a threshold. If so, a new |
1881 // segment is started. |
1881 // segment is started. |
1882 // The HPROF_GC_CLASS_DUMP and HPROF_GC_INSTANCE_DUMP are the vast bulk |
1882 // The HPROF_GC_CLASS_DUMP and HPROF_GC_INSTANCE_DUMP are the vast bulk |
1883 // of the heap dump. |
1883 // of the heap dump. |
1884 HeapObjectDumper obj_dumper(this, writer()); |
1884 HeapObjectDumper obj_dumper(this, writer()); |
1885 Universe::heap()->safe_object_iterate(&obj_dumper); |
1885 Universe::heap()->object_iterate(&obj_dumper); |
1886 |
1886 |
1887 // HPROF_GC_ROOT_THREAD_OBJ + frames + jni locals |
1887 // HPROF_GC_ROOT_THREAD_OBJ + frames + jni locals |
1888 do_threads(); |
1888 do_threads(); |
1889 check_segment_length(); |
1889 check_segment_length(); |
1890 |
1890 |