src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hs-gc-gccause-full-gc Cdiff src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp

src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp

Print this page

        

*** 158,177 **** bool survivors_empty; bool young_gen_empty; { HandleMark hm; ! const bool is_system_gc = gc_cause == GCCause::_java_lang_system_gc; ! // This is useful for debugging but don't change the output the ! // the customer sees. ! const char* gc_cause_str = "Full GC"; ! if (is_system_gc && PrintGCDetails) { ! gc_cause_str = "Full GC (System)"; ! } gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps); TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty); ! TraceTime t1(gc_cause_str, PrintGC, !PrintGCDetails, gclog_or_tty); TraceCollectorStats tcs(counters()); TraceMemoryManagerStats tms(true /* Full GC */,gc_cause); if (TraceGen1Time) accumulated_time()->start(); --- 158,171 ---- bool survivors_empty; bool young_gen_empty; { HandleMark hm; ! gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps); TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty); ! TraceTime t1(GCCauseString("Full GC", gc_cause), PrintGC, !PrintGCDetails, gclog_or_tty); TraceCollectorStats tcs(counters()); TraceMemoryManagerStats tms(true /* Full GC */,gc_cause); if (TraceGen1Time) accumulated_time()->start();
src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File