--- 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.