hotspot/src/share/vm/memory/genMarkSweep.cpp
changeset 12630 ddf6ee008138
parent 11755 e68b5a95367b
child 13195 be27e1b6a4b9
--- a/hotspot/src/share/vm/memory/genMarkSweep.cpp	Tue May 15 22:26:37 2012 +0200
+++ b/hotspot/src/share/vm/memory/genMarkSweep.cpp	Tue May 15 10:25:06 2012 +0200
@@ -76,7 +76,7 @@
   _ref_processor = rp;
   rp->setup_policy(clear_all_softrefs);
 
-  TraceTime t1("Full GC", PrintGC && !PrintGCDetails, true, gclog_or_tty);
+  TraceTime t1(GCCauseString("Full GC", gch->gc_cause()), PrintGC && !PrintGCDetails, true, gclog_or_tty);
 
   // When collecting the permanent generation methodOops may be moving,
   // so we either have to flush all bcp data or convert it into bci.