equal
deleted
inserted
replaced
578 if ((HeapDumpBeforeFullGC && before) || (HeapDumpAfterFullGC && !before)) { |
578 if ((HeapDumpBeforeFullGC && before) || (HeapDumpAfterFullGC && !before)) { |
579 GCTraceTime(Info, gc) tm(before ? "Heap Dump (before full gc)" : "Heap Dump (after full gc)", timer); |
579 GCTraceTime(Info, gc) tm(before ? "Heap Dump (before full gc)" : "Heap Dump (after full gc)", timer); |
580 HeapDumper::dump_heap(); |
580 HeapDumper::dump_heap(); |
581 } |
581 } |
582 |
582 |
583 LogHandle(gc, classhisto) log; |
583 Log(gc, classhisto) log; |
584 if (log.is_trace()) { |
584 if (log.is_trace()) { |
585 GCTraceTime(Trace, gc, classhisto) tm(before ? "Class Histogram (before full gc)" : "Class Histogram (after full gc)", timer); |
585 GCTraceTime(Trace, gc, classhisto) tm(before ? "Class Histogram (before full gc)" : "Class Histogram (after full gc)", timer); |
586 ResourceMark rm; |
586 ResourceMark rm; |
587 VM_GC_HeapInspection inspector(log.trace_stream(), false /* ! full gc */); |
587 VM_GC_HeapInspection inspector(log.trace_stream(), false /* ! full gc */); |
588 inspector.doit(); |
588 inspector.doit(); |