hotspot/src/share/vm/gc/shared/collectedHeap.cpp
changeset 37242 91e5f98fff6f
parent 37149 f025738bbada
child 37248 11a660dbbb8e
equal deleted inserted replaced
37241:b9961c99c356 37242:91e5f98fff6f
   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();