hotspot/src/share/vm/runtime/timer.cpp
changeset 13754 81163e1274d7
parent 10565 dc90c239f4ec
child 13963 e5b53c306fb5
--- a/hotspot/src/share/vm/runtime/timer.cpp	Mon Sep 17 10:46:59 2012 -0400
+++ b/hotspot/src/share/vm/runtime/timer.cpp	Mon Sep 17 10:33:13 2012 +0200
@@ -120,10 +120,7 @@
 
   if (_active) {
     _accum = NULL;
-    if (PrintGCTimeStamps) {
-      _logfile->stamp();
-      _logfile->print(": ");
-    }
+    _logfile->stamp(PrintGCTimeStamps);
     _logfile->print("[%s", title);
     _logfile->flush();
     _t.start();
@@ -141,10 +138,7 @@
   _logfile = (logfile != NULL) ? logfile : tty;
   if (_active) {
     if (_verbose) {
-      if (PrintGCTimeStamps) {
-        _logfile->stamp();
-        _logfile->print(": ");
-      }
+      _logfile->stamp(PrintGCTimeStamps);
       _logfile->print("[%s", title);
       _logfile->flush();
     }